2022-03-04 14:22:29 +00:00
|
|
|
import vbancmd
|
|
|
|
from vbancmd import kinds
|
2022-02-25 15:17:05 +00:00
|
|
|
|
2022-04-08 21:16:37 +01:00
|
|
|
_kind = "potato"
|
2022-02-28 18:14:31 +00:00
|
|
|
opts = {
|
2022-04-08 21:16:37 +01:00
|
|
|
"ip": "ws.local",
|
|
|
|
"streamname": "testing",
|
|
|
|
"port": 6990,
|
|
|
|
"bps": 0,
|
|
|
|
"sync": True,
|
2022-02-28 18:14:31 +00:00
|
|
|
}
|
2022-02-25 15:17:05 +00:00
|
|
|
|
2022-03-04 14:22:29 +00:00
|
|
|
vbanrs = {kind.id: vbancmd.connect(_kind, **opts) for kind in kinds.all}
|
2022-02-25 15:17:05 +00:00
|
|
|
tests = vbanrs[_kind]
|
|
|
|
|
2022-04-08 21:16:37 +01:00
|
|
|
|
2022-02-25 15:17:05 +00:00
|
|
|
def setup_package():
|
2022-03-20 12:46:05 +00:00
|
|
|
tests.login()
|
2022-02-25 17:02:27 +00:00
|
|
|
|
2022-04-08 21:16:37 +01:00
|
|
|
|
2022-02-25 15:17:05 +00:00
|
|
|
def teardown_package():
|
2022-03-20 12:46:05 +00:00
|
|
|
tests.logout()
|