Example #1
0
 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"
Example #2
0
 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()
Example #3
0
 def setUp(self):
     super().setUp()
     self.manager = manage.Manager()
Example #4
0
 def manageTrucks(self):
     self.nextScreen()
     manage.Manager(self.window)