def setUp(self): super(TestCommandKeystore, self).setUp() self.keystore_path = self.working_dir + "/data/keystore" self.render_config_template(keystore_path=self.keystore_path) if path.exists(self.keystore_path): os.Remove(self.keystore_path)
def setUp(self): super(TestManagement, self).setUp() # NOTES: Theses options are linked to the specific of the docker compose environment for # CM. self.es_host = os.getenv('ES_HOST', 'localhost') + ":" + os.getenv('ES_POST', '9200') self.es_user = "******" self.es_pass = "******" self.es = Elasticsearch([self.get_elasticsearch_url()], verify_certs=True) self.keystore_path = self.working_dir + "/data/keystore" if path.exists(self.keystore_path): os.Remove(self.keystore_path)
def setUp(self): super(BaseTest, self).setUp() self.keystore_path = self.working_dir + "/data/keystore" if path.exists(self.keystore_path): os.Remove(self.keystore_path)