예제 #1
0
 def tearDown(self):
     if self.updater is not None:
         self.updater.stop()
     stop_con_pool()
예제 #2
0
 def _setup_updater(self, *args, **kwargs):
     stop_con_pool()
     bot = MockBot(*args, **kwargs)
     self.updater = Updater(workers=2, bot=bot)
 def tearDown(self):
     if self.updater is not None:
         self.updater.stop()
     stop_con_pool()
 def _setup_updater(self, *args, **kwargs):
     stop_con_pool()
     bot = MockBot(*args, **kwargs)
     self.updater = Updater(workers=2, bot=bot)
예제 #5
0
 def tearDown(self):
     if self.jq is not None:
         self.jq.stop()
     stop_con_pool()
예제 #6
0
 def tearDown(self):
     if self.jq is not None:
         self.jq.stop()
     stop_con_pool()