def test_kill(self): self.mox.ReplayAll() queue = Queue(self.store, self.relay) self.assertFalse(queue.ready()) queue.kill() self.assertTrue(queue.ready())
def test_kill(self): self.mox.ReplayAll() queue = Queue(self.store, self.relay) assert_false(queue.ready()) queue.kill() assert_true(queue.ready())