Beispiel #1
0
 def setUp(self):
     self.mock, self.api = mock_api.CreateApi(self.version)
Beispiel #2
0
 def setUp(self):
     self.mock, self.api = mock_api.CreateApi('v1')
 def testCreateV1(self):
   mock, api = mock_api.CreateApi('v1')
   self.assertTrue(isinstance(mock, mock_api_server.MockServer))
   self.assertTrue(api is not None)
 def setUp(self):
     self.mock, self.api = mock_api.CreateApi(self.version)
     self.expected_zone = 'test-zone'
     self.expected_project = 'test-project'
     self.expected_disk_type = 'test-disk-type'