Skip to content

Commit

Permalink
Added test for new property
Browse files Browse the repository at this point in the history
  • Loading branch information
acpaquette committed Feb 23, 2024
1 parent b74608b commit 32913f8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/pytests/test_hayabusa_drivers.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ def setUp(self):

def test_instrument_id(self):
assert self.driver.instrument_id == "HAYABUSA_AMICA"

def test_center_ephemeris_time(self):
with patch('ale.drivers.hayabusa_drivers.spice.scs2e', return_value=12345) as scs2e:
assert self.driver.center_ephemeris_time == 12345 + 0.0109
scs2e.assert_called_with(-130, '2457499394')

def test_sensor_model_version(self):
assert self.driver.sensor_model_version == 1
Expand Down

0 comments on commit 32913f8

Please sign in to comment.