def test_pause(self): consumer = Consumer(None, TEST_API_KEY) consumer.pause() self.assertFalse(consumer.running)
def test_pause(self): consumer = Consumer(None, 'testsecret') consumer.pause() self.assertFalse(consumer.running)