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
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ def test_create_from_url(model_run_with_model_run_data_rows,
assert annotation_import.model_run_id == model_run_with_model_run_data_rows.uid
annotation_import_test_helpers.check_running_state(annotation_import, name,
url)
annotation_import.wait_until_done()


def test_create_from_objects(model_run_with_model_run_data_rows,
Expand All @@ -33,6 +34,7 @@ def test_create_from_objects(model_run_with_model_run_data_rows,
annotation_import_test_helpers.check_running_state(annotation_import, name)
annotation_import_test_helpers.assert_file_content(
annotation_import.input_file_url, object_predictions)
annotation_import.wait_until_done()


def test_create_from_local_file(tmp_path, model_run_with_model_run_data_rows,
Expand All @@ -51,6 +53,7 @@ def test_create_from_local_file(tmp_path, model_run_with_model_run_data_rows,
annotation_import_test_helpers.check_running_state(annotation_import, name)
annotation_import_test_helpers.assert_file_content(
annotation_import.input_file_url, object_predictions)
annotation_import.wait_until_done()


def test_get(client, model_run_with_model_run_data_rows,
Expand All @@ -66,6 +69,7 @@ def test_get(client, model_run_with_model_run_data_rows,
assert annotation_import.model_run_id == model_run_with_model_run_data_rows.uid
annotation_import_test_helpers.check_running_state(annotation_import, name,
url)
annotation_import.wait_until_done()


@pytest.mark.slow
Expand Down