diff --git a/tests/repositories/test_legacy_repository.py b/tests/repositories/test_legacy_repository.py index 8633cedc919..c50a9dd662a 100644 --- a/tests/repositories/test_legacy_repository.py +++ b/tests/repositories/test_legacy_repository.py @@ -309,7 +309,7 @@ def test_get_200_returns_page(http): assert repo._get("/foo") -def test_get_401_403_404_and_returns_none(http): +def test_get_40x_and_returns_none(http): endpoints = {"/{}".format(code): code for code in {401, 403, 404}} repo = MockHttpRepository(endpoints, http)