mirror of
https://github.com/onyx-and-iris/vban-cmd-python.git
synced 2024-11-15 17:10:46 +00:00
bus mode tests added
bus mode tests added to higher tests
This commit is contained in:
parent
84cc4d097d
commit
b9d45948f3
@ -10,7 +10,6 @@ opts = {
|
|||||||
'streamname': 'testing',
|
'streamname': 'testing',
|
||||||
'port': 6990,
|
'port': 6990,
|
||||||
'bps': 0,
|
'bps': 0,
|
||||||
'channel': 3
|
|
||||||
}
|
}
|
||||||
|
|
||||||
vbanrs = {kind.id: vbancmd.connect(_kind, **opts) for kind in kinds.all}
|
vbanrs = {kind.id: vbancmd.connect(_kind, **opts) for kind in kinds.all}
|
||||||
|
@ -29,6 +29,17 @@ class TestSetAndGetBoolHigher(unittest.TestCase):
|
|||||||
self.assertTrue(isinstance(retval, bool))
|
self.assertTrue(isinstance(retval, bool))
|
||||||
assert_equal(retval, self.val)
|
assert_equal(retval, self.val)
|
||||||
|
|
||||||
|
""" bus mode tests, physical and virtual """
|
||||||
|
@parameterized.expand([
|
||||||
|
(0, 'amix'), (0, 'tvmix'), (2, 'composite'), (2, 'upmix41'),
|
||||||
|
(7, 'upmix21'), (7, 'rearonly'), (6, 'lfeonly'), (6, 'repeat')
|
||||||
|
])
|
||||||
|
def test_it_sets_and_gets_bus_mode_bool_params(self, index, param):
|
||||||
|
setattr(tests.bus[index].mode, param, self.val)
|
||||||
|
retval = getattr(tests.bus[index].mode, param)
|
||||||
|
self.assertTrue(isinstance(retval, bool))
|
||||||
|
assert_equal(retval, self.val)
|
||||||
|
|
||||||
|
|
||||||
#@nottest
|
#@nottest
|
||||||
@parameterized_class([
|
@parameterized_class([
|
||||||
|
Loading…
Reference in New Issue
Block a user