Skip to content

Commit

Permalink
Update test for new API.
Browse files Browse the repository at this point in the history
  • Loading branch information
erykoff authored and yalsayyad committed Sep 30, 2021
1 parent a24a602 commit e4b2fcf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_jointcal.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ def test_extract_detector_catalog_from_visit_catalog(self):
"""
detectorId = 56
table = self.jointcal._make_schema_table()
catalog = self.jointcal._extract_detector_catalog_from_visit_catalog(table, self.data, detectorId)
catalog = self.jointcal._extract_detector_catalog_from_visit_catalog(table, self.data, detectorId,
'ccd', ['Ixx', 'Iyy', 'Ixy'])

# The test catalog has a number of elements for each detector equal to the detector id.
self.assertEqual(len(catalog), detectorId)
Expand Down

0 comments on commit e4b2fcf

Please sign in to comment.