mirror of
https://github.com/onyx-and-iris/obsws-python.git
synced 2024-11-22 12:50:53 +00:00
064a4aa11d
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.
19 lines
368 B
Python
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()
|