Fix up a bad pathological test path.
Review Request #12115 — Created March 7, 2022 and submitted — Latest diff uploaded
Inside the API paginator tests, we had a code path to handle
pathological cases where we hit the paginator with an unexpected URL.
This was callingself.fail()
, but the method this is in isn't a test
case, it's a paginator. This has been changed to just raise an exception
instead.
Ran unit tests.