Skip to content

Commit d0bdc7f

Browse files
authored
Merge pull request AdaGold#3 from AdaGold/main
test_wave_03: refactors to mock requests.post regardless of imports
2 parents 0360acb + c39fff9 commit d0bdc7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_wave_03.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def test_mark_complete_on_incomplete_task(client, one_task):
1818
1919
There is no action needed here, the tests should work as-is.
2020
"""
21-
with patch("app.routes.requests.post") as mock_get:
21+
with patch("requests.post") as mock_get:
2222
mock_get.return_value.status_code = 200
2323

2424
# Act

0 commit comments

Comments
 (0)