None
Test: ingestor|loki|dataset_found_is_not_old|
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
instrument = 'loki', 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(2025, 10, 9, 10, 41, 26, 245000, tzinfo=tzutc()) > (datetime.datetime(2025, 10, 17, 8, 10, 33, 197269, tzinfo=tzutc()) - datetime.timedelta(days=1))
E + where datetime.datetime(2025, 10, 17, 8, 10, 33, 197269, tzinfo=tzutc()) =
E + where
E + and tzutc() = datetime.datetime(2025, 10, 9, 10, 41, 26, 245000, tzinfo=tzutc()).tzinfo
E + and datetime.timedelta(days=1) = timedelta(hours=24)
tests/ingestor/ingestor_test.py:59: AssertionError
instrument = 'loki', 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(2025, 10, 9, 10, 41, 26, 245000, tzinfo=tzutc()) > (datetime.datetime(2025, 10, 16, 22, 15, 38, 10881, tzinfo=tzutc()) - datetime.timedelta(days=1))
E + where datetime.datetime(2025, 10, 16, 22, 15, 38, 10881, tzinfo=tzutc()) =
E + where
E + and tzutc() = datetime.datetime(2025, 10, 9, 10, 41, 26, 245000, tzinfo=tzutc()).tzinfo
E + and datetime.timedelta(days=1) = timedelta(hours=24)
tests/ingestor/ingestor_test.py:59: AssertionError
instrument = 'loki', 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(2025, 10, 9, 10, 41, 26, 245000, tzinfo=tzutc()) > (datetime.datetime(2025, 10, 15, 22, 15, 28, 520446, tzinfo=tzutc()) - datetime.timedelta(days=1))
E + where datetime.datetime(2025, 10, 15, 22, 15, 28, 520446, tzinfo=tzutc()) =
E + where
E + and tzutc() = datetime.datetime(2025, 10, 9, 10, 41, 26, 245000, tzinfo=tzutc()).tzinfo
E + and datetime.timedelta(days=1) = timedelta(hours=24)
tests/ingestor/ingestor_test.py:59: AssertionError
instrument = 'loki', 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(2025, 10, 9, 10, 41, 26, 245000, tzinfo=tzutc()) > (datetime.datetime(2025, 10, 14, 22, 15, 25, 123518, tzinfo=tzutc()) - datetime.timedelta(days=1))
E + where datetime.datetime(2025, 10, 14, 22, 15, 25, 123518, tzinfo=tzutc()) =
E + where
E + and tzutc() = datetime.datetime(2025, 10, 9, 10, 41, 26, 245000, tzinfo=tzutc()).tzinfo
E + and datetime.timedelta(days=1) = timedelta(hours=24)
tests/ingestor/ingestor_test.py:59: AssertionError
instrument = 'loki', 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(2025, 10, 9, 10, 41, 26, 245000, tzinfo=tzutc()) > (datetime.datetime(2025, 10, 13, 22, 15, 16, 534373, tzinfo=tzutc()) - datetime.timedelta(days=1))
E + where datetime.datetime(2025, 10, 13, 22, 15, 16, 534373, tzinfo=tzutc()) =
E + where
E + and tzutc() = datetime.datetime(2025, 10, 9, 10, 41, 26, 245000, tzinfo=tzutc()).tzinfo
E + and datetime.timedelta(days=1) = timedelta(hours=24)
tests/ingestor/ingestor_test.py:59: AssertionError
instrument = 'loki', 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(2025, 10, 9, 10, 41, 26, 245000, tzinfo=tzutc()) > (datetime.datetime(2025, 10, 13, 10, 15, 24, 791541, tzinfo=tzutc()) - datetime.timedelta(days=1))
E + where datetime.datetime(2025, 10, 13, 10, 15, 24, 791541, tzinfo=tzutc()) =
E + where
E + and tzutc() = datetime.datetime(2025, 10, 9, 10, 41, 26, 245000, tzinfo=tzutc()).tzinfo
E + and datetime.timedelta(days=1) = timedelta(hours=24)
tests/ingestor/ingestor_test.py:59: AssertionError
instrument = 'loki', 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(2025, 10, 9, 10, 41, 26, 245000, tzinfo=tzutc()) > (datetime.datetime(2025, 10, 13, 8, 46, 30, 498145, tzinfo=tzutc()) - datetime.timedelta(days=1))
E + where datetime.datetime(2025, 10, 13, 8, 46, 30, 498145, tzinfo=tzutc()) =
E + where
E + and tzutc() = datetime.datetime(2025, 10, 9, 10, 41, 26, 245000, tzinfo=tzutc()).tzinfo
E + and datetime.timedelta(days=1) = timedelta(hours=24)
tests/ingestor/ingestor_test.py:59: AssertionError
instrument = 'loki', 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(2025, 10, 9, 10, 41, 26, 245000, tzinfo=tzutc()) > (datetime.datetime(2025, 10, 13, 7, 58, 1, 132721, tzinfo=tzutc()) - datetime.timedelta(days=1))
E + where datetime.datetime(2025, 10, 13, 7, 58, 1, 132721, tzinfo=tzutc()) =
E + where
E + and tzutc() = datetime.datetime(2025, 10, 9, 10, 41, 26, 245000, 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