diff --git a/ebpfcat/ethercat_test.py b/ebpfcat/ethercat_test.py index 3447c4ab49bcba34d58c86689d9877db92717ac8..990619c12c60ba884ecc28dd26d8227821b68e77 100644 --- a/ebpfcat/ethercat_test.py +++ b/ebpfcat/ethercat_test.py @@ -86,7 +86,7 @@ class MockTerminal(Terminal): self.operational = state async def sdo_read(self, index, subindex=None): - assert self.operational >= 2 + assert self.operational.value >= 2 if subindex is None: r = b'' for i in count(1):