def setUp(self): super(TempestConfigfileManagerTestCase, self).setUp() mock.patch("rally.osclients.Clients").start() deployment = fakes.FakeDeployment(**CREDS) self.tempest = config.TempestConfigfileManager(deployment)
def setUp(self): super(TempestConfigfileManagerTestCase, self).setUp() deployment = fakes.FakeDeployment(uuid="fake_deployment", admin=fakes.fake_credential(**CRED)) self.tempest = config.TempestConfigfileManager(deployment)
def configure(self, extra_options=None): """Configure Tempest.""" utils.create_dir(self.home_dir) tcm = config.TempestConfigfileManager(self.verifier.deployment) return tcm.create(self.configfile, extra_options)