2022-09-04 12:20:40 +01:00
|
|
|
import obsws_python as obs
|
2022-07-26 21:48:52 +01:00
|
|
|
|
|
|
|
req_cl = obs.ReqClient()
|
|
|
|
|
|
|
|
|
|
|
|
def setup_module():
|
2022-07-30 16:37:07 +01:00
|
|
|
req_cl.create_scene("START_TEST")
|
|
|
|
req_cl.create_scene("BRB_TEST")
|
|
|
|
req_cl.create_scene("END_TEST")
|
2022-07-26 21:48:52 +01:00
|
|
|
|
|
|
|
|
|
|
|
def teardown_module():
|
2022-07-30 16:37:07 +01:00
|
|
|
req_cl.remove_scene("START_TEST")
|
|
|
|
req_cl.remove_scene("BRB_TEST")
|
|
|
|
req_cl.remove_scene("END_TEST")
|
2022-12-05 16:43:07 +00:00
|
|
|
resp = req_cl.get_studio_mode_enabled()
|
|
|
|
if resp.studio_mode_enabled:
|
|
|
|
req_cl.set_studio_mode_enabled(False)
|
2022-07-26 21:48:52 +01:00
|
|
|
req_cl.base_client.ws.close()
|