mirror of
https://github.com/onyx-and-iris/obsws-cli.git
synced 2026-04-18 06:53:38 +00:00
rename config module to envconfig
envconfig: - add method for normalising the keys - add has_key method - update env var prefix to OBSWS_CLI_ update tests to reflect changes
This commit is contained in:
@@ -21,9 +21,9 @@ def pytest_sessionstart(session):
|
||||
"""
|
||||
# Initialize the OBS WebSocket client
|
||||
session.obsws = obsws.ReqClient(
|
||||
host=os.environ['OBS_HOST'],
|
||||
port=os.environ['OBS_PORT'],
|
||||
password=os.environ['OBS_PASSWORD'],
|
||||
host=os.environ['OBSWS_CLI_HOST'],
|
||||
port=os.environ['OBSWS_CLI_PORT'],
|
||||
password=os.environ['OBSWS_CLI_PASSWORD'],
|
||||
timeout=5,
|
||||
)
|
||||
resp = session.obsws.get_version()
|
||||
|
||||
Reference in New Issue
Block a user