def __init__(self, rabbitmq): self.connection = pika.BlockingConnection(pika.ConnectionParameters( host=rabbitmq)) self.channel = self.connection.channel() self.channel.queue_declare() self.manager = manage.Manager() self.name = "Retrival"
def test_cb_copy_all_not_enabled(self): """Raises InvalidConfigError if the downloader is not enabled.""" self._write_config(enable_downloader=False) self.manager = manage.Manager() # Reload manager with the new config. with self.assertRaises(manage.InvalidConfigError): self.manager.cb_copy_all()
def setUp(self): super().setUp() self.manager = manage.Manager()
def manageTrucks(self): self.nextScreen() manage.Manager(self.window)