Skip to content

Commit 7d57d3a

Browse files
committed
Update test_user.py
1 parent ee57559 commit 7d57d3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/management/test_user.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2523,7 +2523,7 @@ def test_history(self):
25232523
)
25242524

25252525
def test_update_test_user(self):
2526-
with patch("requests.post") as mock_post:
2526+
with patch("httpx.post") as mock_post:
25272527
network_resp = mock.Mock()
25282528
network_resp.ok = True
25292529
network_resp.json.return_value = json.loads('{"user": {"id": "u1"}}')
@@ -2562,7 +2562,7 @@ def test_update_test_user(self):
25622562
)
25632563

25642564
def test_patch_test_user(self):
2565-
with patch("requests.patch") as mock_patch:
2565+
with patch("httpx.post") as mock_patch:
25662566
network_resp = mock.Mock()
25672567
network_resp.ok = True
25682568
network_resp.json.return_value = json.loads('{"user": {"id": "u1"}}')

0 commit comments

Comments
 (0)