Test passed, nothing to report
Test: ingestor|dream|dataset_found_is_not_old|
assert datetime.datetime(2026, 9, 7, 11, 36, 17, 500000, tzinfo=datetime.timezone.utc) > (datetime.datetime(2026, 9, 8, 22, 15, 18, 130706, tzinfo=datetime.timezone.utc) - datetime.timedelta(days=1)) + where datetime.datetime(2026, 9, 8, 22, 15, 18, 130706, tzinfo=datetime.timezone.utc) = <built-in method now of type object at 0x7fe232521840>(datetime.timezone.utc) + where <built-in method now of type object at 0x7fe232521840> = datetime.now + and datetime.timezone.utc = datetime.datetime(2026, 9, 7, 11, 36, 17, 500000, tzinfo=datetime.timezone.utc).tzinfo + and datetime.timedelta(days=1) = timedelta(hours=24) tests/ingestor/ingestor_test.py:59: AssertionError
Full output
instrument = 'dream', 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, 36, 17, 500000, tzinfo=datetime.timezone.utc) > (datetime.datetime(2026, 9, 8, 22, 15, 18, 130706, tzinfo=datetime.timezone.utc) - datetime.timedelta(days=1))
E + where datetime.datetime(2026, 9, 8, 22, 15, 18, 130706, tzinfo=datetime.timezone.utc) = <built-in method now of type object at 0x7fe232521840>(datetime.timezone.utc)
E + where <built-in method now of type object at 0x7fe232521840> = datetime.now
E + and datetime.timezone.utc = datetime.datetime(2026, 9, 7, 11, 36, 17, 500000, 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, 16, 56, 254000, tzinfo=datetime.timezone.utc) > (datetime.datetime(2026, 9, 3, 22, 16, 3, 329554, tzinfo=datetime.timezone.utc) - datetime.timedelta(days=1)) + where datetime.datetime(2026, 9, 3, 22, 16, 3, 329554, tzinfo=datetime.timezone.utc) = <built-in method now of type object at 0x7ff12a2e1840>(datetime.timezone.utc) + where <built-in method now of type object at 0x7ff12a2e1840> = datetime.now + and datetime.timezone.utc = datetime.datetime(2026, 9, 2, 9, 16, 56, 254000, tzinfo=datetime.timezone.utc).tzinfo + and datetime.timedelta(days=1) = timedelta(hours=24) tests/ingestor/ingestor_test.py:59: AssertionError
Full output
instrument = 'dream', 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, 16, 56, 254000, tzinfo=datetime.timezone.utc) > (datetime.datetime(2026, 9, 3, 22, 16, 3, 329554, tzinfo=datetime.timezone.utc) - datetime.timedelta(days=1))
E + where datetime.datetime(2026, 9, 3, 22, 16, 3, 329554, tzinfo=datetime.timezone.utc) = <built-in method now of type object at 0x7ff12a2e1840>(datetime.timezone.utc)
E + where <built-in method now of type object at 0x7ff12a2e1840> = datetime.now
E + and datetime.timezone.utc = datetime.datetime(2026, 9, 2, 9, 16, 56, 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, 8, 24, 10, 4, 12, 593000, tzinfo=datetime.timezone.utc) > (datetime.datetime(2026, 8, 26, 22, 15, 44, 943250, tzinfo=datetime.timezone.utc) - datetime.timedelta(days=1)) + where datetime.datetime(2026, 8, 26, 22, 15, 44, 943250, tzinfo=datetime.timezone.utc) = <built-in method now of type object at 0x7f25c65b3840>(datetime.timezone.utc) + where <built-in method now of type object at 0x7f25c65b3840> = datetime.now + and datetime.timezone.utc = datetime.datetime(2026, 8, 24, 10, 4, 12, 593000, tzinfo=datetime.timezone.utc).tzinfo + and datetime.timedelta(days=1) = timedelta(hours=24) tests/ingestor/ingestor_test.py:59: AssertionError
Full output
instrument = 'dream', 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, 4, 12, 593000, tzinfo=datetime.timezone.utc) > (datetime.datetime(2026, 8, 26, 22, 15, 44, 943250, tzinfo=datetime.timezone.utc) - datetime.timedelta(days=1))
E + where datetime.datetime(2026, 8, 26, 22, 15, 44, 943250, tzinfo=datetime.timezone.utc) = <built-in method now of type object at 0x7f25c65b3840>(datetime.timezone.utc)
E + where <built-in method now of type object at 0x7f25c65b3840> = datetime.now
E + and datetime.timezone.utc = datetime.datetime(2026, 8, 24, 10, 4, 12, 593000, 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, 4, 12, 593000, tzinfo=datetime.timezone.utc) > (datetime.datetime(2026, 8, 25, 22, 16, 55, 104455, tzinfo=datetime.timezone.utc) - datetime.timedelta(days=1)) + where datetime.datetime(2026, 8, 25, 22, 16, 55, 104455, tzinfo=datetime.timezone.utc) = <built-in method now of type object at 0x7f5b5edcf840>(datetime.timezone.utc) + where <built-in method now of type object at 0x7f5b5edcf840> = datetime.now + and datetime.timezone.utc = datetime.datetime(2026, 8, 24, 10, 4, 12, 593000, tzinfo=datetime.timezone.utc).tzinfo + and datetime.timedelta(days=1) = timedelta(hours=24) tests/ingestor/ingestor_test.py:59: AssertionError
Full output
instrument = 'dream', 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, 4, 12, 593000, tzinfo=datetime.timezone.utc) > (datetime.datetime(2026, 8, 25, 22, 16, 55, 104455, tzinfo=datetime.timezone.utc) - datetime.timedelta(days=1))
E + where datetime.datetime(2026, 8, 25, 22, 16, 55, 104455, tzinfo=datetime.timezone.utc) = <built-in method now of type object at 0x7f5b5edcf840>(datetime.timezone.utc)
E + where <built-in method now of type object at 0x7f5b5edcf840> = datetime.now
E + and datetime.timezone.utc = datetime.datetime(2026, 8, 24, 10, 4, 12, 593000, tzinfo=datetime.timezone.utc).tzinfo
E + and datetime.timedelta(days=1) = timedelta(hours=24)
tests/ingestor/ingestor_test.py:59: AssertionError