Пример #1
0
 def test_pause(self):
     consumer = Consumer(None, TEST_API_KEY)
     consumer.pause()
     self.assertFalse(consumer.running)
Пример #2
0
 def test_pause(self):
     consumer = Consumer(None, 'testsecret')
     consumer.pause()
     self.assertFalse(consumer.running)