We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 44aae44 + 4e7081c commit e7bd2efCopy full SHA for e7bd2ef
tests/test_client.py
@@ -741,7 +741,7 @@ def test_create_honeytoken_error(
741
742
743
@responses.activate
744
-def test_get_wt(
+def test_create_jwt(
745
client: GGClient,
746
):
747
"""
@@ -751,6 +751,14 @@ def test_get_wt(
751
752
mock_response = responses.post(
753
url=client._url_from_endpoint("auth/jwt", "v1"),
754
+ match=[
755
+ matchers.json_params_matcher(
756
+ {
757
+ "audience": "dummy_audience",
758
+ "audience_type": "hmsl",
759
+ }
760
+ )
761
+ ],
762
content_type="application/json",
763
status=200,
764
json={"token": "dummy_token"},
0 commit comments