obsws-python/tests/__init__.py
onyx-and-iris 064a4aa11d More request tests added.
development dependencies added to setup.py

fix error in __init__

kind parameter for get_input_list in reqclient now optional.

request tests create/destroy test scenes on setup/teardown.

license, isort, black badges added to readme.
2022-07-30 16:37:07 +01:00

19 lines
368 B
Python

import time
import obsstudio_sdk as obs
req_cl = obs.ReqClient()
def setup_module():
req_cl.create_scene("START_TEST")
req_cl.create_scene("BRB_TEST")
req_cl.create_scene("END_TEST")
def teardown_module():
req_cl.remove_scene("START_TEST")
req_cl.remove_scene("BRB_TEST")
req_cl.remove_scene("END_TEST")
req_cl.base_client.ws.close()