Skip to content

Commit ac87f7c

Browse files
test(platform): don't require a run to have a deadline in the current hour
1 parent 8590b6d commit ac87f7c

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

tests/aignostics/platform/e2e_test.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -310,9 +310,7 @@ def _find_and_validate( # noqa: PLR0913, PLR0917
310310
application_version=application_version,
311311
custom_metadata=f'$.sdk.tags[*] ? (@ == "{check_this_hour_tag}")',
312312
)
313-
checked_runs = 0
314313
for run in runs:
315-
checked_runs += 1
316314
details = run.details()
317315
assert details.application_id == application_id, (
318316
f"Listed run `{run.run_id}` has unexpected application id `{details.application_id}`"
@@ -323,7 +321,6 @@ def _find_and_validate( # noqa: PLR0913, PLR0917
323321
with tempfile.TemporaryDirectory() as temp_dir:
324322
run.download_to_folder(temp_dir, checksum_attribute_key, timeout_seconds=timeout_seconds)
325323
_validate_output(run, Path(temp_dir), checksum_attribute_key)
326-
assert checked_runs > 0, "Expected to find at least one run to validate, but found none."
327324

328325

329326
@pytest.mark.e2e

0 commit comments

Comments
 (0)