예제 #1
0
 def test_kill(self):
     self.mox.ReplayAll()
     queue = Queue(self.store, self.relay)
     self.assertFalse(queue.ready())
     queue.kill()
     self.assertTrue(queue.ready())
예제 #2
0
 def test_kill(self):
     self.mox.ReplayAll()
     queue = Queue(self.store, self.relay)
     assert_false(queue.ready())
     queue.kill()
     assert_true(queue.ready())
예제 #3
0
 def test_kill(self):
     self.mox.ReplayAll()
     queue = Queue(self.store, self.relay)
     self.assertFalse(queue.ready())
     queue.kill()
     self.assertTrue(queue.ready())
예제 #4
0
 def test_kill(self):
     self.mox.ReplayAll()
     queue = Queue(self.store, self.relay)
     assert_false(queue.ready())
     queue.kill()
     assert_true(queue.ready())