Skip to content

Commit 1e2f304

Browse files
committed
Fix tests
1 parent 86b6ad9 commit 1e2f304

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

tests/api_resources/test_devboxes.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1171,9 +1171,7 @@ def test_method_create_and_await_running_success(self, client: Runloop) -> None:
11711171
assert result.id == "test_id"
11721172
assert result.status == "running"
11731173
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)
11771175

11781176
@parametrize
11791177
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
12101208

12111209
assert result.id == "test_id"
12121210
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)
12161212

12171213
@parametrize
12181214
def test_method_create_and_await_running_create_failure(self, client: Runloop) -> None:

0 commit comments

Comments
 (0)