From 0151bd6adcef5776f26a2503b5aad76a54a11407 Mon Sep 17 00:00:00 2001 From: Tim Jenness Date: Tue, 3 Sep 2024 11:05:58 -0700 Subject: [PATCH] Put ingest reference time back in the correct place in test Commit 4dbfaa989 moved the reference time calculation to after the ingest. --- python/lsst/daf/butler/registry/tests/_registry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/lsst/daf/butler/registry/tests/_registry.py b/python/lsst/daf/butler/registry/tests/_registry.py index 7362f88091..974988acad 100644 --- a/python/lsst/daf/butler/registry/tests/_registry.py +++ b/python/lsst/daf/butler/registry/tests/_registry.py @@ -2722,8 +2722,8 @@ def testSkipCalibs(self): def testIngestTimeQuery(self): butler = self.make_butler() registry = butler._registry - self.load_data(butler, "base.yaml", "datasets.yaml") dt0 = datetime.datetime.now(datetime.UTC) + self.load_data(butler, "base.yaml", "datasets.yaml") dt1 = datetime.datetime.now(datetime.UTC) datasets = list(registry.queryDatasets(..., collections=...))