File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ def test_guard_query_params(
4040
4141
4242@pytest .mark .parametrize (
43- "token , expected_status_code" ,
43+ "token_payload , expected_status_code" ,
4444 [
4545 ({"foo" : "bar" }, 403 ),
4646 ({"collections" : []}, 403 ),
@@ -52,7 +52,7 @@ def test_guard_query_params(
5252def test_guard_auth_token (
5353 source_api_server ,
5454 token_builder ,
55- token ,
55+ token_payload ,
5656 expected_status_code ,
5757):
5858 app = app_factory (
@@ -68,7 +68,7 @@ def test_guard_auth_token(
6868 },
6969 )
7070 client = TestClient (
71- app , headers = {"Authorization" : f"Bearer { token_builder (token )} " }
71+ app , headers = {"Authorization" : f"Bearer { token_builder (token_payload )} " }
7272 )
7373 response = client .get ("/collections/xyz" )
7474 assert response .status_code == expected_status_code
You can’t perform that action at this time.
0 commit comments