summaryrefslogtreecommitdiffstats
path: root/nova/test.py
diff options
context:
space:
mode:
authorVishvananda Ishaya <vishvananda@gmail.com>2011-02-20 23:16:10 -0800
committerVishvananda Ishaya <vishvananda@gmail.com>2011-02-20 23:16:10 -0800
commit106eb47eff0551c73b2e90385b9c3a910fec8633 (patch)
treea8155bb559e9cec5ddd9c8dfcfa5ab97958698fe /nova/test.py
parentbd0ca93866b48a7a65de8b97ab0ac0ac9c737f73 (diff)
downloadnova-106eb47eff0551c73b2e90385b9c3a910fec8633.tar.gz
nova-106eb47eff0551c73b2e90385b9c3a910fec8633.tar.xz
nova-106eb47eff0551c73b2e90385b9c3a910fec8633.zip
fixes for various logging errors and issues
Diffstat (limited to 'nova/test.py')
-rw-r--r--nova/test.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/nova/test.py b/nova/test.py
index a12cf9d32..a649b4c5f 100644
--- a/nova/test.py
+++ b/nova/test.py
@@ -60,6 +60,8 @@ class TestCase(unittest.TestCase):
def setUp(self):
"""Run before each test method to initialize test environment"""
super(TestCase, self).setUp()
+ # NOTE(vish): pretend like we've loaded flags from command line
+ flags.FlagValues.initialized = True
# NOTE(vish): We need a better method for creating fixtures for tests
# now that we have some required db setup for the system
# to work properly.