diff --git a/scos_actions/hardware/tests/test_sensor.py b/scos_actions/hardware/tests/test_sensor.py new file mode 100644 index 00000000..1d86de81 --- /dev/null +++ b/scos_actions/hardware/tests/test_sensor.py @@ -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 diff --git a/scos_actions/hardware/tests/test_sigan.py b/scos_actions/hardware/tests/test_sigan.py index df980ecf..c82ffeec 100644 --- a/scos_actions/hardware/tests/test_sigan.py +++ b/scos_actions/hardware/tests/test_sigan.py @@ -1,5 +1,3 @@ -from environs import Env - from scos_actions.hardware.mocks.mock_sigan import MockSignalAnalyzer