Skip to content

Commit

Permalink
only specify instrument class name
Browse files Browse the repository at this point in the history
The var instrumentClass was changed in the base class to
instrumentClassName.
  • Loading branch information
n8pease committed May 18, 2020
1 parent 30cab5d commit 199bcf9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_convert2to3.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,15 @@
@unittest.skipIf(testDataDirectory is None, f"{testDataPackage} not setup")
class DecamConvertGen2To3TestCase(convertTests.ConvertGen2To3TestCase,
lsst.utils.tests.TestCase):

instrumentClassName = "lsst.obs.decam.DarkEnergyCamera"

def setUp(self):
# NOTE: this test will produce a bunch of "Skipping ingestion for" warnings,
# due to the bias/flat calibRegistry only having the same ccds as the
# raws, even though the files themselves have more.
self.gen2root = os.path.join(testDataDirectory, 'ingested')
self.gen2calib = os.path.join(testDataDirectory, 'calibingested')
self.instrumentName = "DECam"
self.instrumentClass = "lsst.obs.decam.DarkEnergyCamera"
self.config = os.path.join(os.path.abspath(os.path.dirname(__file__)),
"config", "convert2to3Config.py")
self.kwargs = {}
Expand Down

0 comments on commit 199bcf9

Please sign in to comment.