Test passed, nothing to report
Test: ingestor|bifrost|dataset_found_is_not_old|
assert datetime.datetime(2026, 9, 7, 11, 22, 49, 910000, tzinfo=datetime.timezone.utc) > (datetime.datetime(2026, 9, 8, 22, 15, 0, 332944, tzinfo=datetime.timezone.utc) - datetime.timedelta(days=1)) + where datetime.datetime(2026, 9, 8, 22, 15, 0, 332944, tzinfo=datetime.timezone.utc) = <built-in method now of type object at 0x7feb1f1c1840>(datetime.timezone.utc) + where <built-in method now of type object at 0x7feb1f1c1840> = datetime.now + and datetime.timezone.utc = datetime.datetime(2026, 9, 7, 11, 22, 49, 910000, tzinfo=datetime.timezone.utc).tzinfo + and datetime.timedelta(days=1) = timedelta(hours=24) tests/ingestor/ingestor_test.py:59: AssertionError
Full output
instrument = 'bifrost', 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, 22, 49, 910000, tzinfo=datetime.timezone.utc) > (datetime.datetime(2026, 9, 8, 22, 15, 0, 332944, tzinfo=datetime.timezone.utc) - datetime.timedelta(days=1))
E + where datetime.datetime(2026, 9, 8, 22, 15, 0, 332944, tzinfo=datetime.timezone.utc) = <built-in method now of type object at 0x7feb1f1c1840>(datetime.timezone.utc)
E + where <built-in method now of type object at 0x7feb1f1c1840> = datetime.now
E + and datetime.timezone.utc = datetime.datetime(2026, 9, 7, 11, 22, 49, 910000, 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, 9, 57, 713000, tzinfo=datetime.timezone.utc) > (datetime.datetime(2026, 9, 3, 22, 16, 0, 830580, tzinfo=datetime.timezone.utc) - datetime.timedelta(days=1)) + where datetime.datetime(2026, 9, 3, 22, 16, 0, 830580, tzinfo=datetime.timezone.utc) = <built-in method now of type object at 0x7f778317e840>(datetime.timezone.utc) + where <built-in method now of type object at 0x7f778317e840> = datetime.now + and datetime.timezone.utc = datetime.datetime(2026, 9, 2, 9, 9, 57, 713000, tzinfo=datetime.timezone.utc).tzinfo + and datetime.timedelta(days=1) = timedelta(hours=24) tests/ingestor/ingestor_test.py:59: AssertionError
Full output
instrument = 'bifrost', 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, 9, 57, 713000, tzinfo=datetime.timezone.utc) > (datetime.datetime(2026, 9, 3, 22, 16, 0, 830580, tzinfo=datetime.timezone.utc) - datetime.timedelta(days=1))
E + where datetime.datetime(2026, 9, 3, 22, 16, 0, 830580, tzinfo=datetime.timezone.utc) = <built-in method now of type object at 0x7f778317e840>(datetime.timezone.utc)
E + where <built-in method now of type object at 0x7f778317e840> = datetime.now
E + and datetime.timezone.utc = datetime.datetime(2026, 9, 2, 9, 9, 57, 713000, 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, 9, 53, 58, 49000, tzinfo=datetime.timezone.utc) > (datetime.datetime(2026, 8, 26, 22, 15, 44, 669218, tzinfo=datetime.timezone.utc) - datetime.timedelta(days=1)) + where datetime.datetime(2026, 8, 26, 22, 15, 44, 669218, tzinfo=datetime.timezone.utc) = <built-in method now of type object at 0x7f5e6b8af840>(datetime.timezone.utc) + where <built-in method now of type object at 0x7f5e6b8af840> = datetime.now + and datetime.timezone.utc = datetime.datetime(2026, 8, 24, 9, 53, 58, 49000, tzinfo=datetime.timezone.utc).tzinfo + and datetime.timedelta(days=1) = timedelta(hours=24) tests/ingestor/ingestor_test.py:59: AssertionError
Full output
instrument = 'bifrost', 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, 9, 53, 58, 49000, tzinfo=datetime.timezone.utc) > (datetime.datetime(2026, 8, 26, 22, 15, 44, 669218, tzinfo=datetime.timezone.utc) - datetime.timedelta(days=1))
E + where datetime.datetime(2026, 8, 26, 22, 15, 44, 669218, tzinfo=datetime.timezone.utc) = <built-in method now of type object at 0x7f5e6b8af840>(datetime.timezone.utc)
E + where <built-in method now of type object at 0x7f5e6b8af840> = datetime.now
E + and datetime.timezone.utc = datetime.datetime(2026, 8, 24, 9, 53, 58, 49000, 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, 9, 53, 58, 49000, tzinfo=datetime.timezone.utc) > (datetime.datetime(2026, 8, 25, 22, 16, 55, 142136, tzinfo=datetime.timezone.utc) - datetime.timedelta(days=1)) + where datetime.datetime(2026, 8, 25, 22, 16, 55, 142136, tzinfo=datetime.timezone.utc) = <built-in method now of type object at 0x7ff340a92840>(datetime.timezone.utc) + where <built-in method now of type object at 0x7ff340a92840> = datetime.now + and datetime.timezone.utc = datetime.datetime(2026, 8, 24, 9, 53, 58, 49000, tzinfo=datetime.timezone.utc).tzinfo + and datetime.timedelta(days=1) = timedelta(hours=24) tests/ingestor/ingestor_test.py:59: AssertionError
Full output
instrument = 'bifrost', 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, 9, 53, 58, 49000, tzinfo=datetime.timezone.utc) > (datetime.datetime(2026, 8, 25, 22, 16, 55, 142136, tzinfo=datetime.timezone.utc) - datetime.timedelta(days=1))
E + where datetime.datetime(2026, 8, 25, 22, 16, 55, 142136, tzinfo=datetime.timezone.utc) = <built-in method now of type object at 0x7ff340a92840>(datetime.timezone.utc)
E + where <built-in method now of type object at 0x7ff340a92840> = datetime.now
E + and datetime.timezone.utc = datetime.datetime(2026, 8, 24, 9, 53, 58, 49000, tzinfo=datetime.timezone.utc).tzinfo
E + and datetime.timedelta(days=1) = timedelta(hours=24)
tests/ingestor/ingestor_test.py:59: AssertionError