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 ee57559 commit 7d57d3aCopy full SHA for 7d57d3a
tests/management/test_user.py
@@ -2523,7 +2523,7 @@ def test_history(self):
2523
)
2524
2525
def test_update_test_user(self):
2526
- with patch("requests.post") as mock_post:
+ with patch("httpx.post") as mock_post:
2527
network_resp = mock.Mock()
2528
network_resp.ok = True
2529
network_resp.json.return_value = json.loads('{"user": {"id": "u1"}}')
@@ -2562,7 +2562,7 @@ def test_update_test_user(self):
2562
2563
2564
def test_patch_test_user(self):
2565
- with patch("requests.patch") as mock_patch:
+ with patch("httpx.post") as mock_patch:
2566
2567
2568
0 commit comments