None
Test: ingestor|dream|dataset_found_is_not_old|
None
None
None
None
None
None
None
None
None
None
None
None
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, 1, 16, 7, 52, 1, 253000, tzinfo=tzutc()) > (datetime.datetime(2026, 1, 20, 23, 15, 8, 689851, tzinfo=tzutc()) - datetime.timedelta(days=1))
E + where datetime.datetime(2026, 1, 20, 23, 15, 8, 689851, tzinfo=tzutc()) =
E + where
E + and tzutc() = datetime.datetime(2026, 1, 16, 7, 52, 1, 253000, tzinfo=tzutc()).tzinfo
E + and datetime.timedelta(days=1) = timedelta(hours=24)
tests/ingestor/ingestor_test.py:59: AssertionError
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, 1, 16, 7, 52, 1, 253000, tzinfo=tzutc()) > (datetime.datetime(2026, 1, 20, 19, 44, 8, 818932, tzinfo=tzutc()) - datetime.timedelta(days=1))
E + where datetime.datetime(2026, 1, 20, 19, 44, 8, 818932, tzinfo=tzutc()) =
E + where
E + and tzutc() = datetime.datetime(2026, 1, 16, 7, 52, 1, 253000, tzinfo=tzutc()).tzinfo
E + and datetime.timedelta(days=1) = timedelta(hours=24)
tests/ingestor/ingestor_test.py:59: AssertionError
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, 1, 16, 7, 52, 1, 253000, tzinfo=tzutc()) > (datetime.datetime(2026, 1, 20, 12, 55, 16, 600611, tzinfo=tzutc()) - datetime.timedelta(days=1))
E + where datetime.datetime(2026, 1, 20, 12, 55, 16, 600611, tzinfo=tzutc()) =
E + where
E + and tzutc() = datetime.datetime(2026, 1, 16, 7, 52, 1, 253000, tzinfo=tzutc()).tzinfo
E + and datetime.timedelta(days=1) = timedelta(hours=24)
tests/ingestor/ingestor_test.py:59: AssertionError
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, 1, 16, 7, 52, 1, 253000, tzinfo=tzutc()) > (datetime.datetime(2026, 1, 19, 23, 14, 57, 424653, tzinfo=tzutc()) - datetime.timedelta(days=1))
E + where datetime.datetime(2026, 1, 19, 23, 14, 57, 424653, tzinfo=tzutc()) =
E + where
E + and tzutc() = datetime.datetime(2026, 1, 16, 7, 52, 1, 253000, tzinfo=tzutc()).tzinfo
E + and datetime.timedelta(days=1) = timedelta(hours=24)
tests/ingestor/ingestor_test.py:59: AssertionError
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, 1, 16, 7, 52, 1, 253000, tzinfo=tzutc()) > (datetime.datetime(2026, 1, 19, 20, 56, 54, 303689, tzinfo=tzutc()) - datetime.timedelta(days=1))
E + where datetime.datetime(2026, 1, 19, 20, 56, 54, 303689, tzinfo=tzutc()) =
E + where
E + and tzutc() = datetime.datetime(2026, 1, 16, 7, 52, 1, 253000, tzinfo=tzutc()).tzinfo
E + and datetime.timedelta(days=1) = timedelta(hours=24)
tests/ingestor/ingestor_test.py:59: AssertionError
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, 1, 16, 7, 52, 1, 253000, tzinfo=tzutc()) > (datetime.datetime(2026, 1, 19, 11, 23, 59, 388564, tzinfo=tzutc()) - datetime.timedelta(days=1))
E + where datetime.datetime(2026, 1, 19, 11, 23, 59, 388564, tzinfo=tzutc()) =
E + where
E + and tzutc() = datetime.datetime(2026, 1, 16, 7, 52, 1, 253000, tzinfo=tzutc()).tzinfo
E + and datetime.timedelta(days=1) = timedelta(hours=24)
tests/ingestor/ingestor_test.py:59: AssertionError
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, 1, 16, 7, 52, 1, 253000, tzinfo=tzutc()) > (datetime.datetime(2026, 1, 19, 11, 21, 45, 639210, tzinfo=tzutc()) - datetime.timedelta(days=1))
E + where datetime.datetime(2026, 1, 19, 11, 21, 45, 639210, tzinfo=tzutc()) =
E + where
E + and tzutc() = datetime.datetime(2026, 1, 16, 7, 52, 1, 253000, tzinfo=tzutc()).tzinfo
E + and datetime.timedelta(days=1) = timedelta(hours=24)
tests/ingestor/ingestor_test.py:59: AssertionError
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, 1, 16, 7, 52, 1, 253000, tzinfo=tzutc()) > (datetime.datetime(2026, 1, 18, 23, 15, 40, 841899, tzinfo=tzutc()) - datetime.timedelta(days=1))
E + where datetime.datetime(2026, 1, 18, 23, 15, 40, 841899, tzinfo=tzutc()) =
E + where
E + and tzutc() = datetime.datetime(2026, 1, 16, 7, 52, 1, 253000, tzinfo=tzutc()).tzinfo
E + and datetime.timedelta(days=1) = timedelta(hours=24)
tests/ingestor/ingestor_test.py:59: AssertionError
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, 1, 16, 7, 52, 1, 253000, tzinfo=tzutc()) > (datetime.datetime(2026, 1, 18, 0, 42, 33, 381886, tzinfo=tzutc()) - datetime.timedelta(days=1))
E + where datetime.datetime(2026, 1, 18, 0, 42, 33, 381886, tzinfo=tzutc()) =
E + where
E + and tzutc() = datetime.datetime(2026, 1, 16, 7, 52, 1, 253000, tzinfo=tzutc()).tzinfo
E + and datetime.timedelta(days=1) = timedelta(hours=24)
tests/ingestor/ingestor_test.py:59: AssertionError
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None