Skip to content

Commit

Permalink
Added more verbose logging to the tests/test_obssys_state_transitions…
Browse files Browse the repository at this point in the history
….py unit tests.
  • Loading branch information
rbovill committed Oct 30, 2023
1 parent 2dba287 commit fe19a48
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions tests/test_obssys_state_transitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,11 @@ async def test_obssys_standby_disabled(self) -> None:
# Get number of scripts and the configuration.
num_scripts = len(script_class.scripts)
script_config = yaml.safe_load(script_class.configs[0])
print(f"ObsSys Standby to Disabled; running {num_scripts} scripts")
print(
f"ObsSys Standby to Disabled; running {num_scripts} scripts"
f" on the TTS environment, with this configuration: \n"
f"{script_config}"
)
# Execute the scripts.
await script_class.run()
# Assert script was added to ScriptQueue.
Expand All @@ -79,7 +83,11 @@ async def test_obssys_disabled_enabled(self) -> None:
# Get number of scripts and the configuration.
num_scripts = len(script_class.scripts)
script_config = yaml.safe_load(script_class.configs[0])
print(f"ObsSys Disabled to Enabled; running {num_scripts} scripts")
print(
f"ObsSys Disabled to Enabled; running {num_scripts} scripts"
f" on the BTS environment, with this configuration: \n"
f"{script_config}"
)
# Execute the scripts.
await script_class.run()
# Assert script was added to ScriptQueue.
Expand Down

0 comments on commit fe19a48

Please sign in to comment.