Esempio n. 1
0
 def setUp(self):
     KTUCloudNodeDriver.connectionCls.conn_class = KTUCloudStackMockHttp
     self.driver = KTUCloudNodeDriver("apikey",
                                      "secret",
                                      path="/test/path",
                                      host="api.dummy.com")
     self.driver.path = "/test/path"
     self.driver.type = -1
     KTUCloudStackMockHttp.fixture_tag = "default"
     self.driver.connection.poll_interval = 0.0
Esempio n. 2
0
 def setUp(self):
     KTUCloudNodeDriver.connectionCls.conn_class = KTUCloudStackMockHttp
     self.driver = KTUCloudNodeDriver('apikey',
                                      'secret',
                                      path='/test/path',
                                      host='api.dummy.com')
     self.driver.path = '/test/path'
     self.driver.type = -1
     KTUCloudStackMockHttp.fixture_tag = 'default'
     self.driver.connection.poll_interval = 0.0