← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1128582] Re: setup.cfg not used by quantum unit test

 

** Changed in: quantum
       Status: In Progress => Invalid

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

Title:
  setup.cfg not used by quantum unit test

Status in OpenStack Quantum (virtual network service):
  Invalid

Bug description:
  nosetests is used to unit test quantum while invoking run_tests.sh (or
  run_tests.py directly). In addition to passing command-line options,
  one can customize nosetests with setup.cfg file in the project
  directory, or a .noserc or nose.cfg file in the home directory. there
  already exists a setup.cfg file under quantum main directory, but it's
  not actually being used. This is becasue run_tests.py explicitly
  creates a nosetests Config object which effectively overwrites
  nosetests existing behavior.

  The issue was discovered while adding a log-config option in the
  setup.cfg file in order to see the logs generated by running unit
  tests. Of course, one can do ./run_tests.sh --log-config <log-config-
  file> to do the same. But existing behavior of nosetests should be
  maintained

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