Skip to content

Commit

Permalink
Run make noqa again
Browse files Browse the repository at this point in the history
  • Loading branch information
seanh committed Feb 6, 2025
1 parent e46df0e commit 043f5b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/unit/via/resources_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def test_it_with_paths(self, path_url_resource):
)

@pytest.mark.parametrize(
"exc,expected",
"exc,expected", # noqa: PT006
((HTTPBadRequest, None), (BadURL("message", url="url"), "url")), # noqa: PT007
)
def test_it_with_bad_paths(self, path_url_resource, exc, expected):
Expand All @@ -136,7 +136,7 @@ def test_it_with_queries(self, query_url_resource):
)

@pytest.mark.parametrize(
"exc,expected",
"exc,expected", # noqa: PT006
((HTTPBadRequest, None), (BadURL("message", url="url"), "url")), # noqa: PT007
)
def test_it_with_bad_queries(self, query_url_resource, exc, expected):
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/via/views/exceptions_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def test_it(self, pyramid_request):
assert pyramid_request.response.status_int == 419

@pytest.mark.parametrize(
"raw,expected_text",
"raw,expected_text", # noqa: PT006
((123456, "... cannot retrieve ..."), (None, "")), # noqa: PT007
)
def test_it_with_bad_response(self, pyramid_request, raw, expected_text):
Expand Down

0 comments on commit 043f5b2

Please sign in to comment.