Skip to content

Commit

Permalink
update test repo test
Browse files Browse the repository at this point in the history
  • Loading branch information
parejkoj committed Mar 14, 2019
1 parent 4a21b59 commit 68fb0a0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/test_htmIndex.py
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,6 @@ def testLoadVersion0(self):
loader = LoadIndexedReferenceObjectsTask(butler=dafPersist.Butler(path))
self.assertEqual(loader.dataset_config.format_version, 0)
result = loader.loadSkyCircle(make_coord(10, 20), 5*lsst.geom.degrees, filterName='a')
# TODO: assert that log.warn messages are emitted.
self.assertTrue(hasNanojanskyFluxUnits(result.refCat.schema))
catalog = afwTable.SimpleCatalog.readFits(os.path.join(path, 'ref_cats/cal_ref_cat/4022.fits'))
self.assertFloatsEqual(catalog['a_flux']*1e9, result.refCat['a_flux'])
Expand All @@ -501,7 +500,6 @@ def testLoadVersion1(self):
loader = LoadIndexedReferenceObjectsTask(butler=dafPersist.Butler(path))
self.assertEqual(loader.dataset_config.format_version, 1)
result = loader.loadSkyCircle(make_coord(10, 20), 5*lsst.geom.degrees, filterName='a')
# TODO: assert that no log.warn is emitted.
self.assertTrue(hasNanojanskyFluxUnits(result.refCat.schema))
catalog = afwTable.SimpleCatalog.readFits(os.path.join(path, 'ref_cats/cal_ref_cat/4022.fits'))
self.assertFloatsEqual(catalog['a_flux'], result.refCat['a_flux'])
Expand Down

0 comments on commit 68fb0a0

Please sign in to comment.