Exemplo n.º 1
0
 def test_setup_v3_with_api_version(self):
     self.patch_config(V3_PARAMS, api_version=3)
     fixture = _credentials.ConfigKeystoneCredentialsFixture()
     fixture.setUp()
     fixture.credentials.validate()
     self.assertEqual(V3_PARAMS, fixture.credentials.to_dict())
Exemplo n.º 2
0
 def test_init(self):
     fixture = _credentials.ConfigKeystoneCredentialsFixture()
     self.assertIsNone(fixture.credentials)