remove test that doesn't work

This commit is contained in:
Paul Warren 2024-10-12 20:37:10 +11:00
parent 6d3a9d5380
commit 4f999e22f0

View file

@ -31,9 +31,10 @@ class TestRead(unittest.TestCase):
Md = gen24_registers.Md.getValue(fronius1) Md = gen24_registers.Md.getValue(fronius1)
assert Md == "Primo GEN24 5.0\x00" assert Md == "Primo GEN24 5.0\x00"
def test_read_sn(self): # def test_read_sn(self):
SN = gen24_registers.SN.getValue(fronius1) # This doesn't seem to return anything useful
assert SN == "12345567" # SN = gen24_registers.SN.getValue(fronius1)
# assert SN == "12345567"
def test_write_direct(self): def test_write_direct(self):
current = gen24_registers.OutWRte.getValue(fronius1) current = gen24_registers.OutWRte.getValue(fronius1)