Skip to content

Commit

Permalink
Add test_sensor. Remove dead code.
Browse files Browse the repository at this point in the history
  • Loading branch information
dboulware committed Jan 17, 2024
1 parent 83f7dc9 commit d8d45e4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 10 additions & 0 deletions scos_actions/hardware/tests/test_sensor.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
from scos_actions.hardware.mocks.mock_sigan import MockSignalAnalyzer
from scos_actions.hardware.mocks.mock_gps import MockGPS
from scos_actions.hardware.sensor import Sensor


def test_sensor():
sensor = Sensor(signal_analyzer=MockSignalAnalyzer(), gps=MockGPS())
assert sensor is not None
assert sensor.signal_analyzer is not None
assert sensor.gps is not None
2 changes: 0 additions & 2 deletions scos_actions/hardware/tests/test_sigan.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from environs import Env

from scos_actions.hardware.mocks.mock_sigan import MockSignalAnalyzer


Expand Down

0 comments on commit d8d45e4

Please sign in to comment.