Skip to content

Commit

Permalink
Add longTrailedSources to testPipeline unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bsmartradio committed Nov 16, 2023
1 parent 60239a5 commit 8773aeb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions python/lsst/ap/verify/testPipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -568,4 +568,5 @@ def run(self,
associatedDiaSources=pandas.DataFrame(),
diaForcedSources=pandas.DataFrame(),
diaObjects=pandas.DataFrame(),
longTrailedSources=pandas.DataFrame(),
)
4 changes: 3 additions & 1 deletion tests/test_testPipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@ def setUpClass(cls):
butlerTests.addDatasetType(cls.repo, "deepDiff_diaSrcTable", cls.visitId.keys(), "DataFrame")
butlerTests.addDatasetType(cls.repo, "visitSsObjects", cls.visitOnlyId.keys(), "DataFrame")
butlerTests.addDatasetType(cls.repo, "apdb_marker", cls.visitId.keys(), "Config")
butlerTests.addDatasetType(cls.repo, "deepDiff_associDiaSrc", cls.visitId.keys(), "DataFrame")
butlerTests.addDatasetType(cls.repo, "deepDiff_assocDiaSrc", cls.visitId.keys(), "DataFrame")
butlerTests.addDatasetType(cls.repo, "deepDiff_longTrailedSrc", cls.visitId.keys(), "DataFrame")

def setUp(self):
super().setUp()
Expand Down Expand Up @@ -285,6 +286,7 @@ def testMockDiaPipelineTask(self):
"template": self.visitId,
"apdbMarker": self.visitId,
"associatedDiaSources": self.visitId,
"longTrailedSources": self.visitId,
})
pipelineTests.runTestQuantum(task, self.butler, quantum, mockRun=False)

Expand Down

0 comments on commit 8773aeb

Please sign in to comment.