Skip to content

Commit 14f71f7

Browse files
committed
Rename variable
1 parent c563d5e commit 14f71f7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_guards_cel.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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(
5252
def 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

0 commit comments

Comments
 (0)