Commits

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).

Comments (0)

Files changed (1)

katcp/tx/test/test_core.py

 
     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))
             protocol.send_request('halt')
 
         def connected(protocol):