Skip to content

Commit

Permalink
Set test config to the value it was designed with
Browse files Browse the repository at this point in the history
The tests here were set using the old default of 300 for pixelMargin
(now updated to 250).  Rather than change the tests, override the
config in the test to the value it was conditioned on.
  • Loading branch information
laurenam committed May 20, 2021
1 parent 6c31b34 commit bee3d26
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_loadDiaCatalogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@ def testGetPixelRanges(self):
the WCS.
"""
diaConfig = LoadDiaCatalogsConfig()
diaConfig.pixelMargin = 300 # overriding to value tests were conditioned on
diaConfig.htmMaxRanges = 4
diaLoader = LoadDiaCatalogsTask(config=diaConfig)

Expand Down

0 comments on commit bee3d26

Please sign in to comment.