Skip to content

Commit

Permalink
update tests for new plateScale
Browse files Browse the repository at this point in the history
  • Loading branch information
jmeyers314 committed Feb 15, 2024
1 parent 1107a78 commit d92a9c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_generateCamera.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def testGenerateCameraTs8(self):
"""Test with ts8 in a test directory."""
content = self.runGenerateCamera(["ts8", "lsstCam", os.path.curdir])
self.assertEqual(content["name"], "LSST-TS8")
self.assertEqual(content["plateScale"], 20.0)
self.assertEqual(content["plateScale"], 20.005867576692737)

def testGenerateCamera(self):
"""Test with lsstCam in a test directory."""
Expand All @@ -96,7 +96,7 @@ def testGenerateCamera(self):
# Also make sure no bad names are sneaking through
self.assertEqual([x for x in content['CCDs'] if 'W_' in x], [])
self.assertEqual(content["name"], "LSSTCam")
self.assertEqual(content["plateScale"], 20.0)
self.assertEqual(content["plateScale"], 20.005867576692737)
# SW0 is extrafocal is negative-z in DVCS
self.assertEqual(content["CCDs"]["R04_SW0"]["offset"][2], -1.5)

Expand Down

0 comments on commit d92a9c6

Please sign in to comment.