Test passed, nothing to report
Test: ingestor|freia|dataset_found_is_not_old|
assert datetime.datetime(2026, 9, 7, 11, 54, 57, 254000, tzinfo=datetime.timezone.utc) > (datetime.datetime(2026, 9, 8, 22, 15, 18, 905856, tzinfo=datetime.timezone.utc) - datetime.timedelta(days=1)) + where datetime.datetime(2026, 9, 8, 22, 15, 18, 905856, tzinfo=datetime.timezone.utc) = <built-in method now of type object at 0x7f5700505840>(datetime.timezone.utc) + where <built-in method now of type object at 0x7f5700505840> = datetime.now + and datetime.timezone.utc = datetime.datetime(2026, 9, 7, 11, 54, 57, 254000, tzinfo=datetime.timezone.utc).tzinfo + and datetime.timedelta(days=1) = timedelta(hours=24) tests/ingestor/ingestor_test.py:59: AssertionError
Full output
instrument = 'freia', coda_proposal_id = '999999'
def test_dataset_found_is_not_old(
instrument: str,
coda_proposal_id: str,
) -> None:
ds = scicat.get_latest_coda_dataset(
instrument=instrument, proposal_id=coda_proposal_id
)
creation_time = cast(datetime, ds.creation_time)
> assert creation_time > datetime.now(creation_time.tzinfo) - timedelta(hours=24)
E assert datetime.datetime(2026, 9, 7, 11, 54, 57, 254000, tzinfo=datetime.timezone.utc) > (datetime.datetime(2026, 9, 8, 22, 15, 18, 905856, tzinfo=datetime.timezone.utc) - datetime.timedelta(days=1))
E + where datetime.datetime(2026, 9, 8, 22, 15, 18, 905856, tzinfo=datetime.timezone.utc) = <built-in method now of type object at 0x7f5700505840>(datetime.timezone.utc)
E + where <built-in method now of type object at 0x7f5700505840> = datetime.now
E + and datetime.timezone.utc = datetime.datetime(2026, 9, 7, 11, 54, 57, 254000, tzinfo=datetime.timezone.utc).tzinfo
E + and datetime.timedelta(days=1) = timedelta(hours=24)
tests/ingestor/ingestor_test.py:59: AssertionError
assert datetime.datetime(2026, 9, 2, 9, 31, 9, 218000, tzinfo=datetime.timezone.utc) > (datetime.datetime(2026, 9, 3, 22, 16, 27, 532614, tzinfo=datetime.timezone.utc) - datetime.timedelta(days=1)) + where datetime.datetime(2026, 9, 3, 22, 16, 27, 532614, tzinfo=datetime.timezone.utc) = <built-in method now of type object at 0x7fd201120840>(datetime.timezone.utc) + where <built-in method now of type object at 0x7fd201120840> = datetime.now + and datetime.timezone.utc = datetime.datetime(2026, 9, 2, 9, 31, 9, 218000, tzinfo=datetime.timezone.utc).tzinfo + and datetime.timedelta(days=1) = timedelta(hours=24) tests/ingestor/ingestor_test.py:59: AssertionError
Full output
instrument = 'freia', coda_proposal_id = '999999'
def test_dataset_found_is_not_old(
instrument: str,
coda_proposal_id: str,
) -> None:
ds = scicat.get_latest_coda_dataset(
instrument=instrument, proposal_id=coda_proposal_id
)
creation_time = cast(datetime, ds.creation_time)
> assert creation_time > datetime.now(creation_time.tzinfo) - timedelta(hours=24)
E assert datetime.datetime(2026, 9, 2, 9, 31, 9, 218000, tzinfo=datetime.timezone.utc) > (datetime.datetime(2026, 9, 3, 22, 16, 27, 532614, tzinfo=datetime.timezone.utc) - datetime.timedelta(days=1))
E + where datetime.datetime(2026, 9, 3, 22, 16, 27, 532614, tzinfo=datetime.timezone.utc) = <built-in method now of type object at 0x7fd201120840>(datetime.timezone.utc)
E + where <built-in method now of type object at 0x7fd201120840> = datetime.now
E + and datetime.timezone.utc = datetime.datetime(2026, 9, 2, 9, 31, 9, 218000, tzinfo=datetime.timezone.utc).tzinfo
E + and datetime.timedelta(days=1) = timedelta(hours=24)
tests/ingestor/ingestor_test.py:59: AssertionError
assert datetime.datetime(2026, 8, 24, 10, 30, 29, 913000, tzinfo=datetime.timezone.utc) > (datetime.datetime(2026, 8, 26, 22, 15, 57, 736118, tzinfo=datetime.timezone.utc) - datetime.timedelta(days=1)) + where datetime.datetime(2026, 8, 26, 22, 15, 57, 736118, tzinfo=datetime.timezone.utc) = <built-in method now of type object at 0x7fce98ca0840>(datetime.timezone.utc) + where <built-in method now of type object at 0x7fce98ca0840> = datetime.now + and datetime.timezone.utc = datetime.datetime(2026, 8, 24, 10, 30, 29, 913000, tzinfo=datetime.timezone.utc).tzinfo + and datetime.timedelta(days=1) = timedelta(hours=24) tests/ingestor/ingestor_test.py:59: AssertionError
Full output
instrument = 'freia', coda_proposal_id = '999999'
def test_dataset_found_is_not_old(
instrument: str,
coda_proposal_id: str,
) -> None:
ds = scicat.get_latest_coda_dataset(
instrument=instrument, proposal_id=coda_proposal_id
)
creation_time = cast(datetime, ds.creation_time)
> assert creation_time > datetime.now(creation_time.tzinfo) - timedelta(hours=24)
E assert datetime.datetime(2026, 8, 24, 10, 30, 29, 913000, tzinfo=datetime.timezone.utc) > (datetime.datetime(2026, 8, 26, 22, 15, 57, 736118, tzinfo=datetime.timezone.utc) - datetime.timedelta(days=1))
E + where datetime.datetime(2026, 8, 26, 22, 15, 57, 736118, tzinfo=datetime.timezone.utc) = <built-in method now of type object at 0x7fce98ca0840>(datetime.timezone.utc)
E + where <built-in method now of type object at 0x7fce98ca0840> = datetime.now
E + and datetime.timezone.utc = datetime.datetime(2026, 8, 24, 10, 30, 29, 913000, tzinfo=datetime.timezone.utc).tzinfo
E + and datetime.timedelta(days=1) = timedelta(hours=24)
tests/ingestor/ingestor_test.py:59: AssertionError
assert datetime.datetime(2026, 8, 24, 10, 30, 29, 913000, tzinfo=datetime.timezone.utc) > (datetime.datetime(2026, 8, 25, 22, 16, 55, 20315, tzinfo=datetime.timezone.utc) - datetime.timedelta(days=1)) + where datetime.datetime(2026, 8, 25, 22, 16, 55, 20315, tzinfo=datetime.timezone.utc) = <built-in method now of type object at 0x7f84c6cb3840>(datetime.timezone.utc) + where <built-in method now of type object at 0x7f84c6cb3840> = datetime.now + and datetime.timezone.utc = datetime.datetime(2026, 8, 24, 10, 30, 29, 913000, tzinfo=datetime.timezone.utc).tzinfo + and datetime.timedelta(days=1) = timedelta(hours=24) tests/ingestor/ingestor_test.py:59: AssertionError
Full output
instrument = 'freia', coda_proposal_id = '999999'
def test_dataset_found_is_not_old(
instrument: str,
coda_proposal_id: str,
) -> None:
ds = scicat.get_latest_coda_dataset(
instrument=instrument, proposal_id=coda_proposal_id
)
creation_time = cast(datetime, ds.creation_time)
> assert creation_time > datetime.now(creation_time.tzinfo) - timedelta(hours=24)
E assert datetime.datetime(2026, 8, 24, 10, 30, 29, 913000, tzinfo=datetime.timezone.utc) > (datetime.datetime(2026, 8, 25, 22, 16, 55, 20315, tzinfo=datetime.timezone.utc) - datetime.timedelta(days=1))
E + where datetime.datetime(2026, 8, 25, 22, 16, 55, 20315, tzinfo=datetime.timezone.utc) = <built-in method now of type object at 0x7f84c6cb3840>(datetime.timezone.utc)
E + where <built-in method now of type object at 0x7f84c6cb3840> = datetime.now
E + and datetime.timezone.utc = datetime.datetime(2026, 8, 24, 10, 30, 29, 913000, tzinfo=datetime.timezone.utc).tzinfo
E + and datetime.timedelta(days=1) = timedelta(hours=24)
tests/ingestor/ingestor_test.py:59: AssertionError