Skip to content

Commit

Permalink
Test getting as many components as possible
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonKrughoff committed Apr 23, 2020
1 parent 16623b6 commit 1b13e64
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/test_datastoreFits.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,11 @@ def testExposurePutGet(self):
self.assertEqual(type(exposure), type(exposureOut))

# Get some components
for compName in ("wcs", "image", "mask", "coaddInputs", "psf"):
# Could not test the following components as the were not known:
# bbox, xy0, filter, polygon, appCorrMap, detector, extras, exposureInfo
# transmissionCurve returned None and which is fixed in DM-24347
for compName in ("wcs", "image", "mask", "coaddInputs", "psf",
"variance", "photoCalib", "metadata", "visitInfo"):
compRef = self.makeDatasetRef(ref.datasetType.componentTypeName(compName), dimensions,
storageClass.components[compName], dataId, id=ref.id)
component = datastore.get(compRef)
Expand Down

0 comments on commit 1b13e64

Please sign in to comment.