Skip to content

Commit

Permalink
change to collections
Browse files Browse the repository at this point in the history
  • Loading branch information
n8pease committed May 16, 2020
1 parent 7ee649a commit f196897
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_ingest.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class HscIngestTestCase(IngestTestBase, lsst.utils.tests.TestCase):

@property
def visits(self):
butler = Butler(self.root, run=self.outputRun)
butler = Butler(self.root, collections=[self.outputRun])
return {
DataCoordinate.standardize(
instrument="HSC",
Expand All @@ -67,7 +67,7 @@ def checkRepo(self, files=None):
# We ignore `files` because there's only one raw file in
# testdata_subaru, and we know it's a science frame.
# If we ever add more, this test will need to change.
butler = Butler(self.root, run=self.outputRun)
butler = Butler(self.root, collections=[self.outputRun])
expanded = butler.registry.expandDataId(self.dataIds[0])
self.assertEqual(expanded.records["exposure"].observation_type, "science")

Expand Down

0 comments on commit f196897

Please sign in to comment.