~0x44/nova/bug838466

« back to all changes in this revision

Viewing changes to nova/tests/test_auth.py

  • Committer: Tarmac
  • Author(s): Vishvananda Ishaya
  • Date: 2011-08-23 21:19:44 UTC
  • mfrom: (1479.2.2 lp831995)
  • Revision ID: tarmac-20110823211944-av0no2f984kmk4w2
Adds a use_deprecated_auth flag to make sure creds generated using nova-manage commands will work with noauth.

Show diffs side-by-side

added added

removed removed

Lines of Context:
147
147
                        '/services/Cloud'))
148
148
 
149
149
    def test_can_get_credentials(self):
 
150
        self.flags(use_deprecated_auth=True)
150
151
        st = {'access': 'access', 'secret': 'secret'}
151
152
        with user_and_project_generator(self.manager, user_state=st) as (u, p):
152
153
            credentials = self.manager.get_environment_rc(u, p)