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.
1 parent d50a04f commit 8ba826cCopy full SHA for 8ba826c
descope/management/jwt.py
@@ -114,7 +114,7 @@ def stop_impersonation(
114
)
115
116
response = self._auth.do_post(
117
- MgmtV1.impersonate_path,
+ MgmtV1.stop_impersonation_path,
118
{
119
"jwt": jwt,
120
"customClaims": custom_claims,
tests/management/test_jwt.py
@@ -167,7 +167,7 @@ def test_stop_impersonation(self):
167
mock_post.return_value = network_resp
168
resp = client.mgmt.jwt.stop_impersonation("jwtstr")
169
self.assertEqual(resp, "response")
170
- expected_uri = f"{common.DEFAULT_BASE_URL}{MgmtV1.impersonate_path}"
+ expected_uri = f"{common.DEFAULT_BASE_URL}{MgmtV1.stop_impersonation_path}"
171
mock_post.assert_called_with(
172
expected_uri,
173
headers={
0 commit comments