← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1138216] Re: incorrect pathname assert in test_config.py

 

** Changed in: quantum
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to quantum.
https://bugs.launchpad.net/bugs/1138216

Title:
  incorrect pathname assert in test_config.py

Status in OpenStack Quantum (virtual network service):
  Fix Released

Bug description:
  Depending on how the working directory is set up in nose, the following assert in ./quantum/tests/unit/test_config.py may fail . 
          self.assertEqual(os.path.abspath('../../..'),
                           cfg.CONF.state_path)

  For example, if the working dir was /opt/stack/quantum/tests, the call
  to os.path.abspath('../../..') would return /opt/stack, while
  cfg.CONF.state_path is /opt/stack/quantum. Thus the assert would fail.

To manage notifications about this bug go to:
https://bugs.launchpad.net/quantum/+bug/1138216/+subscriptions