Skip to content

Commit

Permalink
DO NOT MERGE: Temporarily stop log gathering in test
Browse files Browse the repository at this point in the history
  • Loading branch information
timj committed Apr 29, 2024
1 parent 48df7e5 commit b1e3a04
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_ingest.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,10 @@ def testSimpleIngest(self):
# Now ingest dataset_3, which should generate a warning because of
# the end time being before the begin time.
files = [os.path.join(INGESTDIR, "sidecar_data", "dataset_3.yaml")]
with self.assertLogs("lsst.obs.base._instrument", level="WARNING") as cm:
self.task.run(files, run=self.outputRun)
# with self.assertLogs("lsst.obs.base._instrument", level="WARNING") as cm: # noqa
self.task.run(files, run=self.outputRun)

self.assertIn("has end time before begin time", cm.output[0])
# self.assertIn("has end time before begin time", cm.output[0])
records = list(
self.butler.registry.queryDimensionRecords(
"exposure",
Expand Down

0 comments on commit b1e3a04

Please sign in to comment.