Skip to content

Commit

Permalink
only load yaml actions if using scos_actions mock sigan
Browse files Browse the repository at this point in the history
  • Loading branch information
jhazentia committed Apr 15, 2024
1 parent 6638bfd commit 8806dec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scos_actions/discover/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ def init(
return yaml_actions, yaml_test_actions


yaml_actions, yaml_test_actions = init()
actions.update(yaml_actions)
if (
SIGAN_MODULE == "scos_actions.hardware.mocks.mock_sigan"
and SIGAN_CLASS == "MockSignalAnalyzer"
):
yaml_actions, yaml_test_actions = init()
actions.update(yaml_actions)
test_actions.update(
{
"test_sync_gps": SyncGps(parameters={"name": "test_sync_gps"}),
Expand Down

0 comments on commit 8806dec

Please sign in to comment.