Skip to content

Commit

Permalink
Merge branch 'scos-sensor' of https://github.com/NTIA/Preselector int…
Browse files Browse the repository at this point in the history
…o scos-sensor
  • Loading branch information
dboulware committed May 31, 2022
2 parents 231cbe4 + 0756667 commit cdbe036
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/its_preselector/test/test_preselector.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,10 @@ def setUpClass(cls):
null_def = json.load(null_file)
null_file.close()
cls.empty_preselector = WebRelayPreselector(null_def, {})
file = open('sensor_definition.json')
sensor_def = json.load(file)
file.close()
with open('sensor_definition.json', 'r') as f:
sensor_def = json.load(f)
cls.scos_preselector = WebRelayPreselector(sensor_def, {})



def test_valid_preselector(self):
self.assertIsNotNone(self.preselector)

Expand Down

0 comments on commit cdbe036

Please sign in to comment.