From 41b0dfbe4b38862c50eea7214f8c7a10698cdf76 Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Mon, 5 Dec 2022 16:43:07 +0000 Subject: [PATCH] ensure studio mode is disabled at end of test run --- tests/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/__init__.py b/tests/__init__.py index b1e7d9c..a20f785 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -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()