Forgot to set the flag for the test

This commit is contained in:
Vishvananda Ishaya 2011-08-23 13:44:21 -07:00
parent 60d4ff5da9
commit c7b634c26d
1 changed files with 1 additions and 0 deletions

View File

@ -147,6 +147,7 @@ class _AuthManagerBaseTestCase(test.TestCase):
'/services/Cloud'))
def test_can_get_credentials(self):
self.flags(use_deprecated_auth=True)
st = {'access': 'access', 'secret': 'secret'}
with user_and_project_generator(self.manager, user_state=st) as (u, p):
credentials = self.manager.get_environment_rc(u, p)