mirror of
https://github.com/onyx-and-iris/vban-cmd-python.git
synced 2026-04-18 04:53:31 +00:00
edits to tests
add more tests to higher. added opts to tests. removed delay, max_polls from runmany, not required for these tests.
This commit is contained in:
@@ -158,7 +158,7 @@ class GainLayer(InputStrip):
|
||||
self._i = i
|
||||
|
||||
@property
|
||||
def gain(self):
|
||||
def gain(self) -> float:
|
||||
def fget():
|
||||
val = getattr(self.public_packet, f'stripgainlayer{self._i+1}')[self.index]
|
||||
if val < 10000:
|
||||
@@ -170,7 +170,7 @@ class GainLayer(InputStrip):
|
||||
return round((fget() * 0.01), 1)
|
||||
|
||||
@gain.setter
|
||||
def gain(self, val):
|
||||
def gain(self, val: float):
|
||||
self.setter(f'GainLayer[{self._i}]', val)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user