1. Simon Cross
  2. katcp


Simon Cross  committed a90592e

(simon, fijal) Allow sensor sampling count to be out by one to cater for slower stopping of sensor-sampling on the build system (test on katslave).

  • Participants
  • Parent commits a4a3b94
  • Branches default

Comments (0)

Files changed (1)

File katcp/tx/test/test_core.py

View file
     def test_callback_sensor_sampling(self):
         def check(protocol):
-            self.assertEquals(len(protocol.status_updates), 30)
+            self.assertTrue(len(protocol.status_updates) in (30, 31))
         def connected(protocol):