Skip to content

Commit 0398a69

Browse files
committed
fix user tests
1 parent 7d57d3a commit 0398a69

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/management/test_user.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2556,13 +2556,13 @@ def test_update_test_user(self):
25562556
"additionalLoginIds": None,
25572557
"ssoAppIDs": None,
25582558
},
2559-
allow_redirects=False,
2559+
follow_redirects=False,
25602560
verify=True,
25612561
timeout=DEFAULT_TIMEOUT_SECONDS,
25622562
)
25632563

25642564
def test_patch_test_user(self):
2565-
with patch("httpx.post") as mock_patch:
2565+
with patch("httpx.patch") as mock_patch:
25662566
network_resp = mock.Mock()
25672567
network_resp.ok = True
25682568
network_resp.json.return_value = json.loads('{"user": {"id": "u1"}}')
@@ -2587,7 +2587,7 @@ def test_patch_test_user(self):
25872587
"displayName": "test-user",
25882588
"test": True,
25892589
},
2590-
allow_redirects=False,
2590+
follow_redirects=False,
25912591
verify=True,
25922592
timeout=DEFAULT_TIMEOUT_SECONDS,
25932593
)

0 commit comments

Comments
 (0)