diff options
| author | sateesh <sateesh.chodapuneedi@citrix.com> | 2011-03-17 20:13:48 +0530 |
|---|---|---|
| committer | sateesh <sateesh.chodapuneedi@citrix.com> | 2011-03-17 20:13:48 +0530 |
| commit | cbcda1ec466fd498fb8e9fe47c72b52c2d4b3dde (patch) | |
| tree | 03e90711e05d1d42de74f526c3acfbedd790603e /nova/tests | |
| parent | f5ad4125d00396a7a3a334eb347aeeb47d8d4989 (diff) | |
1) Update few comments where whitespace is missing after '#'
2) Update document so that copy right notice doesn't appear in generated document
3) Now using self.flag(...) instead of setting the flags like FLAGS.vmwareapi_username by direct assignment.
4) Added the missing double quote at the end a string in vim_util.py
Diffstat (limited to 'nova/tests')
| -rw-r--r-- | nova/tests/test_vmwareapi.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nova/tests/test_vmwareapi.py b/nova/tests/test_vmwareapi.py index b22d8b7b9..d17805b99 100644 --- a/nova/tests/test_vmwareapi.py +++ b/nova/tests/test_vmwareapi.py @@ -43,15 +43,15 @@ class VMWareAPIVMTestCase(test.TestCase): def setUp(self):
super(VMWareAPIVMTestCase, self).setUp()
+ self.flags(vmwareapi_host_ip='test_url',
+ vmwareapi_host_username='test_username',
+ vmware_host_password='test_pass')
self.manager = manager.AuthManager()
self.user = self.manager.create_user('fake', 'fake', 'fake',
admin=True)
self.project = self.manager.create_project('fake', 'fake', 'fake')
self.network = utils.import_object(FLAGS.network_manager)
self.stubs = stubout.StubOutForTesting()
- FLAGS.vmwareapi_host_ip = 'test_url'
- FLAGS.vmwareapi_host_username = 'test_username'
- FLAGS.vmwareapi_host_password = 'test_pass'
vmwareapi_fake.reset()
db_fakes.stub_out_db_instance_api(self.stubs)
stubs.set_stubs(self.stubs)
|
