Adjust tests

This commit is contained in:
Paul Warren 2024-10-11 15:16:36 +11:00
parent 6f70903993
commit fe5e8707fc

View file

@ -21,10 +21,12 @@ class TestRead(unittest.TestCase):
def test_write_direct(self):
current = gen24_registers.OutWRte.getValue(fronius1)
retval = gen24_registers.OutWRte.setValue(fronius1, current)
assert retval is not None
def test_write_scaled(self):
current = gen24_registers.scaledInWRte.getValue(fronius1)
retval = gen24_registers.scaledInWRte.setValue(fronius1, current)
assert retval is not None
if __name__ == '__main__':
unittest.main()