Adjust tests
This commit is contained in:
parent
6f70903993
commit
fe5e8707fc
1 changed files with 2 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue