Esempio n. 1
0
 def test_until(self):
     c = wait.SystemClock()
     self.assertFalse(wait.until_pred(c, sys.maxint))
     self.assertTrue(wait.until_pred(c, 0))
Esempio n. 2
0
 def setUp(self):
     super(SystemClockTest, self).setUp()
     self.clock = wait.SystemClock()
Esempio n. 3
0
 def test_until(self):
     c = wait.SystemClock()
     self.assertFalse(wait.until_pred(c, six.MAXSIZE))
     self.assertTrue(wait.until_pred(c, 0))