-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
10 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
||
|
||
|