mirror of
https://github.com/onyx-and-iris/obsws-cli.git
synced 2025-06-07 20:20:32 +01:00
ensure studio mode disabled at end of tests
This commit is contained in:
parent
36e260efde
commit
f8d3ed75cb
@ -138,6 +138,10 @@ def pytest_sessionfinish(session, exitstatus):
|
|||||||
if resp.output_active:
|
if resp.output_active:
|
||||||
session.obsws.stop_replay_buffer()
|
session.obsws.stop_replay_buffer()
|
||||||
|
|
||||||
|
resp = session.obsws.get_studio_mode_enabled()
|
||||||
|
if resp.studio_mode_enabled:
|
||||||
|
session.obsws.set_studio_mode_enabled(False)
|
||||||
|
|
||||||
# Close the OBS WebSocket client connection
|
# Close the OBS WebSocket client connection
|
||||||
session.obsws.disconnect()
|
session.obsws.disconnect()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user