예제 #1
0
    def setUp(self):
        super(TempestConfigfileManagerTestCase, self).setUp()

        mock.patch("rally.osclients.Clients").start()

        deployment = fakes.FakeDeployment(**CREDS)
        self.tempest = config.TempestConfigfileManager(deployment)
예제 #2
0
 def setUp(self):
     super(TempestConfigfileManagerTestCase, self).setUp()
     deployment = fakes.FakeDeployment(uuid="fake_deployment",
                                       admin=fakes.fake_credential(**CRED))
     self.tempest = config.TempestConfigfileManager(deployment)
예제 #3
0
 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)