Skip to content

Commit aa3cddc

Browse files
committed
Fix tests
1 parent 927e246 commit aa3cddc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/api_resources/devboxes/test_executions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ def close(self) -> None: # called by reconnect wrapper
318318

319319
calls: list[str | None] = []
320320

321-
def fake_get(*, options: Any):
321+
def fake_get(_path: str, *, options: Any, **_kwargs: Any):
322322
params = cast("dict[str, object]", getattr(options, "params", cast(object, {})))
323323
calls.append(cast(str | None, params.get("offset")))
324324
# first call -> yields two items then timeout; second call -> yields one more and completes
@@ -823,7 +823,7 @@ async def close(self) -> None:
823823

824824
calls: list[str | None] = []
825825

826-
async def fake_get(*, options: Any):
826+
async def fake_get(_path: str, *, options: Any, **_kwargs: Any):
827827
params = cast("dict[str, object]", getattr(options, "params", cast(object, {})))
828828
calls.append(cast(str | None, params.get("offset")))
829829
if len(calls) == 1:

0 commit comments

Comments
 (0)