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:
onyx-and-iris
2022-02-28 18:14:31 +00:00
parent 314ecbe6da
commit 83429e17ad
8 changed files with 68 additions and 41 deletions

View File

@@ -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)