def test_read_file(self): config = Configuration('test/src/system/system-manual.yml') couch = launch_couch(config) self.assertEquals(couch.get_hostname(), 'couch-hostname') rabbit = launch_rabbit(config) es = launch_elasticsearch(config) graylog = launch_graylog(config) graylog_es = graylog.get_elasticsearch()
def launch_system(self): """ bring up all VMs and applications """ # self.couch = launch_couch(self.config) self.rabbit = launch_rabbit(self.config) self.es = launch_elasticsearch(self.config) self.graylog = launch_graylog(self.config) self.wait_for(couch=self.couch, rabbit=self.rabbit, elasticsearch=self.es, graylog=self.graylog) # self.system = launch_containers(config=self.config, couch=self.couch, rabbit=self.rabbit, graylog=self.graylog, elasticsearch=self.es) self.wait_for(pycc=self.system) # now system is up and running # attach ape manager and listeners self._init_manager()