~ubuntu-branches/ubuntu/saucy/python-novaclient/saucy

« back to all changes in this revision

Viewing changes to tests/test_shell.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2012-02-03 10:46:49 UTC
  • mfrom: (1.1.10)
  • Revision ID: package-import@ubuntu.com-20120203104649-3604yixrglbsoi0g
Tags: 2012.1~e4~20120203.484-0ubuntu1
New upstream release. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
    def setUp(self):
13
13
        global _old_env
14
14
        fake_env = {
15
 
            'NOVA_USERNAME': 'username',
16
 
            'NOVA_PASSWORD': 'password',
17
 
            'NOVA_PROJECT_ID': 'project_id',
18
 
            'NOVA_URL': 'http://no.where',
 
15
            'OS_USERNAME': 'username',
 
16
            'OS_PASSWORD': 'password',
 
17
            'OS_TENANT_NAME': 'tenant_name',
 
18
            'OS_AUTH_URL': 'http://no.where',
19
19
        }
20
20
        _old_env, os.environ = os.environ, fake_env.copy()
21
21