|
4 | 4 |
|
5 | 5 | import os |
6 | 6 | from typing import Any, cast |
7 | | -from unittest.mock import ANY, Mock, patch |
| 7 | +from unittest.mock import Mock, patch |
8 | 8 |
|
9 | 9 | import httpx |
10 | 10 | import pytest |
@@ -1171,9 +1171,7 @@ def test_method_create_and_await_running_success(self, client: Runloop) -> None: |
1171 | 1171 | assert result.id == "test_id" |
1172 | 1172 | assert result.status == "running" |
1173 | 1173 | mock_create.assert_called_once() |
1174 | | - mock_await.assert_called_once_with( |
1175 | | - "test_id", polling_config=None, extra_headers=None, extra_query=None, extra_body=None, timeout=ANY |
1176 | | - ) |
| 1174 | + mock_await.assert_called_once_with("test_id", polling_config=None) |
1177 | 1175 |
|
1178 | 1176 | @parametrize |
1179 | 1177 | def test_method_create_and_await_running_with_config(self, client: Runloop) -> None: |
@@ -1210,9 +1208,7 @@ def test_method_create_and_await_running_with_config(self, client: Runloop) -> N |
1210 | 1208 |
|
1211 | 1209 | assert result.id == "test_id" |
1212 | 1210 | assert result.status == "running" |
1213 | | - mock_await.assert_called_once_with( |
1214 | | - "test_id", polling_config=config, extra_headers=None, extra_query=None, extra_body=None, timeout=ANY |
1215 | | - ) |
| 1211 | + mock_await.assert_called_once_with("test_id", polling_config=config) |
1216 | 1212 |
|
1217 | 1213 | @parametrize |
1218 | 1214 | def test_method_create_and_await_running_create_failure(self, client: Runloop) -> None: |
|
0 commit comments