Skip to content

Commit 2384fbb

Browse files
committed
Format sync timeout test
1 parent 61f5bc7 commit 2384fbb

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

tests/test_api.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,9 +175,7 @@ def test_run_timeout(self, mock_post, mock_get, mock_sleep, mock_time):
175175
@patch("wavespeed.api.client.requests.post")
176176
def test_run_sync_mode_timeout_raises_without_fallback(self, mock_post, mock_get):
177177
"""Test sync-mode timeout keeps the task queryable without async fallback."""
178-
result_url = (
179-
"https://api.wavespeed.ai/api/v3/predictions/req-timeout/result"
180-
)
178+
result_url = "https://api.wavespeed.ai/api/v3/predictions/req-timeout/result"
181179
mock_post_response = MagicMock()
182180
mock_post_response.status_code = 200
183181
mock_post_response.json.return_value = {

0 commit comments

Comments
 (0)