Esempio n. 1
0
def getNuageClient():
    server = FAKE_SERVER
    serverauth = FAKE_SERVER_AUTH
    serverssl = FAKE_SERVER_SSL
    base_uri = FAKE_BASE_URI
    auth_resource = FAKE_AUTH_RESOURCE
    organization = FAKE_ORGANIZATION
    nuageclient = fake_nuageclient.FakeNuageClient(server, base_uri, serverssl,
                                                   serverauth, auth_resource,
                                                   organization)
    return nuageclient
Esempio n. 2
0
 def mock_nuageClient_init(self):
     server = FAKE_SERVER
     serverauth = FAKE_SERVER_AUTH
     serverssl = FAKE_SERVER_SSL
     base_uri = FAKE_BASE_URI
     auth_resource = FAKE_AUTH_RESOURCE
     organization = FAKE_ORGANIZATION
     self.nuageclient = None
     self.nuageclient = fake_nuageclient.FakeNuageClient(
         server, base_uri, serverssl, serverauth, auth_resource,
         organization)