Can't run test_localization_tests by themselves

Bug #740322 reported by Matt Dietz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Wishlist
Unassigned

Bug Description

======================================================================
ERROR: <nose.suite.ContextSuite context=nova.tests.test_localization>
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/nose/suite.py", line 208, in run
    self.setUp()
  File "/usr/local/lib/python2.6/dist-packages/nose/suite.py", line 291, in setUp
    self.setupContext(ancestor)
  File "/usr/local/lib/python2.6/dist-packages/nose/suite.py", line 314, in setupContext
    try_run(context, names)
  File "/usr/local/lib/python2.6/dist-packages/nose/util.py", line 478, in try_run
    return func()
  File "/root/code/nova/xs_resize/nova/tests/__init__.py", line 65, in setup
    cleandb = os.path.join(FLAGS.state_path, FLAGS.sqlite_clean_db)
  File "/root/code/nova/xs_resize/nova/flags.py", line 139, in __getattr__
    val = gflags.FlagValues.__getattr__(self, name)
  File "/usr/local/lib/python2.6/dist-packages/gflags.py", line 810, in __getattr__
    raise AttributeError(name)
AttributeError: sqlite_clean_db

The flag for sqlite_clean_db is defined in nova/test.py. but test_localization doesn't import test

Related branches

Matt Dietz (cerberus)
Changed in nova:
importance: Undecided → Low
importance: Low → Wishlist
Thierry Carrez (ttx)
Changed in nova:
status: New → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → 2011.2
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.