ensure studio mode is disabled at end of test run

This commit is contained in:
onyx-and-iris 2022-12-05 16:43:07 +00:00
parent cf888b0c4a
commit 41b0dfbe4b

View File

@ -13,4 +13,7 @@ def teardown_module():
req_cl.remove_scene("START_TEST")
req_cl.remove_scene("BRB_TEST")
req_cl.remove_scene("END_TEST")
resp = req_cl.get_studio_mode_enabled()
if resp.studio_mode_enabled:
req_cl.set_studio_mode_enabled(False)
req_cl.base_client.ws.close()