mirror of
https://github.com/onyx-and-iris/vban-cmd-python.git
synced 2025-01-18 18:40:47 +00:00
1c0ebfa1d1
tests reformatted, add sync to tests. add sync kwarg to vbancmd. Set for apply_profile.
23 lines
353 B
Python
23 lines
353 B
Python
import vbancmd
|
|
from vbancmd import kinds
|
|
|
|
_kind = "potato"
|
|
opts = {
|
|
"ip": "ws.local",
|
|
"streamname": "testing",
|
|
"port": 6990,
|
|
"bps": 0,
|
|
"sync": True,
|
|
}
|
|
|
|
vbanrs = {kind.id: vbancmd.connect(_kind, **opts) for kind in kinds.all}
|
|
tests = vbanrs[_kind]
|
|
|
|
|
|
def setup_package():
|
|
tests.login()
|
|
|
|
|
|
def teardown_package():
|
|
tests.logout()
|