Skip to content

Commit 9a7165f

Browse files
author
Andrei Neagu
committed
fixed failing tests
1 parent 26b258a commit 9a7165f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

services/dynamic-sidecar/tests/unit/test_api_containers_long_running_tasks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ async def test_container_restore_state(
577577
status_poll_interval=FAST_STATUS_POLL,
578578
progress_callback=_debug_progress,
579579
) as result:
580-
assert result is None
580+
assert isinstance(result, int)
581581

582582

583583
async def test_container_save_state(
@@ -590,7 +590,7 @@ async def test_container_save_state(
590590
status_poll_interval=FAST_STATUS_POLL,
591591
progress_callback=_debug_progress,
592592
) as result:
593-
assert result is None
593+
assert isinstance(result, int)
594594

595595

596596
@pytest.mark.parametrize("inputs_pulling_enabled", [True, False])

0 commit comments

Comments
 (0)