def setUp(self): super(TestMicroversionHeaderCheck, self).setUp() fake_auth = fake_auth_provider.FakeAuthProvider() self.client = base_compute_client.BaseComputeClient( fake_auth, 'compute', 'regionOne') base_compute_client.COMPUTE_MICROVERSION = '2.2'
def setUp(self): super(TestClientWithoutMicroversionHeader, self).setUp() fake_auth = fake_auth_provider.FakeAuthProvider() self.client = base_compute_client.BaseComputeClient( fake_auth, 'compute', 'regionOne')