Example #1
0
 def test_wait_all_ok(self):
     self.assertEqual({}, system.wait_for(always_ok, 1, 1))
Example #2
0
 def test_wait_all_none(self):
     self.assertEqual(None, system.wait_for(always_none, 1, 1))
Example #3
0
 def test_wait_all_exceptions(self):
     self.assertEqual(None, system.wait_for(exceptions, 1, 1))
 def test_wait_all_ok(self):
     self.assertEqual({}, system.wait_for(always_ok, 1, 1))
 def test_wait_all_none(self):
     self.assertEqual(None, system.wait_for(always_none, 1, 1))
 def test_wait_all_exceptions(self):
     self.assertEqual(None, system.wait_for(exceptions, 1, 1))