None
Test: ingestor|odin|dataset_found_is_not_old|
None
None
None
None
None
None
None
None
None
None
None
None
None
None
instrument = 'odin', 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, 11, 8, 55, 19000, tzinfo=tzutc()) > (datetime.datetime(2025, 10, 16, 22, 15, 43, 977296, tzinfo=tzutc()) - datetime.timedelta(days=1))
E + where datetime.datetime(2025, 10, 16, 22, 15, 43, 977296, tzinfo=tzutc()) =
E + where
E + and tzutc() = datetime.datetime(2025, 10, 9, 11, 8, 55, 19000, tzinfo=tzutc()).tzinfo
E + and datetime.timedelta(days=1) = timedelta(hours=24)
tests/ingestor/ingestor_test.py:59: AssertionError
instrument = 'odin', 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, 11, 8, 55, 19000, tzinfo=tzutc()) > (datetime.datetime(2025, 10, 15, 22, 15, 37, 932445, tzinfo=tzutc()) - datetime.timedelta(days=1))
E + where datetime.datetime(2025, 10, 15, 22, 15, 37, 932445, tzinfo=tzutc()) =
E + where
E + and tzutc() = datetime.datetime(2025, 10, 9, 11, 8, 55, 19000, tzinfo=tzutc()).tzinfo
E + and datetime.timedelta(days=1) = timedelta(hours=24)
tests/ingestor/ingestor_test.py:59: AssertionError
instrument = 'odin', 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, 11, 8, 55, 19000, tzinfo=tzutc()) > (datetime.datetime(2025, 10, 14, 22, 15, 24, 946207, tzinfo=tzutc()) - datetime.timedelta(days=1))
E + where datetime.datetime(2025, 10, 14, 22, 15, 24, 946207, tzinfo=tzutc()) =
E + where
E + and tzutc() = datetime.datetime(2025, 10, 9, 11, 8, 55, 19000, tzinfo=tzutc()).tzinfo
E + and datetime.timedelta(days=1) = timedelta(hours=24)
tests/ingestor/ingestor_test.py:59: AssertionError
instrument = 'odin', 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, 11, 8, 55, 19000, tzinfo=tzutc()) > (datetime.datetime(2025, 10, 13, 22, 15, 23, 762257, tzinfo=tzutc()) - datetime.timedelta(days=1))
E + where datetime.datetime(2025, 10, 13, 22, 15, 23, 762257, tzinfo=tzutc()) =
E + where
E + and tzutc() = datetime.datetime(2025, 10, 9, 11, 8, 55, 19000, 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
instrument = 'odin', 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, 9, 25, 13, 49, 26, 46000, tzinfo=tzutc()) > (datetime.datetime(2025, 9, 28, 22, 15, 56, 737669, tzinfo=tzutc()) - datetime.timedelta(days=1))
E + where datetime.datetime(2025, 9, 28, 22, 15, 56, 737669, tzinfo=tzutc()) =
E + where
E + and tzutc() = datetime.datetime(2025, 9, 25, 13, 49, 26, 46000, tzinfo=tzutc()).tzinfo
E + and datetime.timedelta(days=1) = timedelta(hours=24)
tests/ingestor/ingestor_test.py:57: AssertionError
instrument = 'odin', 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, 9, 25, 13, 49, 26, 46000, tzinfo=tzutc()) > (datetime.datetime(2025, 9, 27, 22, 15, 57, 266996, tzinfo=tzutc()) - datetime.timedelta(days=1))
E + where datetime.datetime(2025, 9, 27, 22, 15, 57, 266996, tzinfo=tzutc()) =
E + where
E + and tzutc() = datetime.datetime(2025, 9, 25, 13, 49, 26, 46000, tzinfo=tzutc()).tzinfo
E + and datetime.timedelta(days=1) = timedelta(hours=24)
tests/ingestor/ingestor_test.py:57: AssertionError
instrument = 'odin', 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, 9, 25, 13, 49, 26, 46000, tzinfo=tzutc()) > (datetime.datetime(2025, 9, 26, 22, 15, 47, 521306, tzinfo=tzutc()) - datetime.timedelta(days=1))
E + where datetime.datetime(2025, 9, 26, 22, 15, 47, 521306, tzinfo=tzutc()) =
E + where
E + and tzutc() = datetime.datetime(2025, 9, 25, 13, 49, 26, 46000, tzinfo=tzutc()).tzinfo
E + and datetime.timedelta(days=1) = timedelta(hours=24)
tests/ingestor/ingestor_test.py:57: AssertionError
None
None
None
None
None
None
None
None
None
None
None
None
None
None