summaryrefslogtreecommitdiffstats
path: root/nova
diff options
context:
space:
mode:
authorAlex Meade <alex.meade@rackspace.com>2012-03-09 17:07:37 +0000
committerAlex Meade <alex.meade@rackspace.com>2012-03-09 17:07:37 +0000
commit1c68d20e4bc9ca48a01b932f4c511f55cd54f4a9 (patch)
treee4643ec20c02f6de37310a087c522ca9ce4881f6 /nova
parent0c3c67e085018316d2e6174d852bbc8cd2e4ccb1 (diff)
downloadnova-1c68d20e4bc9ca48a01b932f4c511f55cd54f4a9.tar.gz
nova-1c68d20e4bc9ca48a01b932f4c511f55cd54f4a9.tar.xz
nova-1c68d20e4bc9ca48a01b932f4c511f55cd54f4a9.zip
Update values in test_flagfile to be different.
This will ensure the test is actually getting the correct values Change-Id: I648488c0f573a4d402408cfaf66c1f144c116e1d
Diffstat (limited to 'nova')
-rw-r--r--nova/tests/test_flags.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/nova/tests/test_flags.py b/nova/tests/test_flags.py
index 46acd77d2..153db953a 100644
--- a/nova/tests/test_flags.py
+++ b/nova/tests/test_flags.py
@@ -114,7 +114,7 @@ class FlagsTestCase(test.TestCase):
try:
os.write(fd, '--string=foo\n--int=2\n--false\n--notrue\n')
- os.write(fd, '--multi=foo\n') # FIXME(markmc): --multi=bar\n')
+ os.write(fd, '--multi=bar\n')
os.close(fd)
self.FLAGS(['flags_test', '--flagfile=' + path])
@@ -123,11 +123,11 @@ class FlagsTestCase(test.TestCase):
self.assertEqual(self.FLAGS.int, 2)
self.assertEqual(self.FLAGS.false, True)
self.assertEqual(self.FLAGS.true, False)
- self.assertEqual(self.FLAGS.multi, ['foo']) # FIXME(markmc): 'bar'
+ self.assertEqual(self.FLAGS.multi, ['bar'])
# Re-parse to test multistring isn't append multiple times
self.FLAGS(['flags_test', '--flagfile=' + path])
- self.assertEqual(self.FLAGS.multi, ['foo']) # FIXME(markmc): 'bar'
+ self.assertEqual(self.FLAGS.multi, ['bar'])
finally:
os.remove(path)