Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion tests/integration/test_webhook.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
ListOfRuns,
ListOfWebhookDispatches,
ListOfWebhooks,
Run,
Webhook,
WebhookDispatch,
WebhookEventType,
Expand All @@ -39,7 +40,7 @@ async def _get_finished_run_id(client: ApifyClient | ApifyClientAsync) -> str:
# No completed runs found - start one and wait for it to finish
run = await maybe_await(client.actor(HELLO_WORLD_ACTOR).call())

assert isinstance(run, ListOfRuns)
assert isinstance(run, Run)

return run.id

Expand Down