** 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/1161413

Title:
  tox -ecover does not work in Quantum

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

Bug description:
  salvatore@ubuntu:~/git/quantum$ tox -ecover 
  GLOB sdist-make: /home/salvatore/git/quantum/setup.py
  cover sdist-reinst: 
/home/salvatore/git/quantum/.tox/dist/quantum-2013.2.a308.g7b95039.zip
  cover runtests: commands[0]
  Traceback (most recent call last):
    File "tools/patch_tox_venv.py", line 38, in <module>
      main(sys.argv)
    File "tools/patch_tox_venv.py", line 26, in main
      venv = os.environ['VIRTUAL_ENV']
    File "/home/salvatore/git/quantum/.tox/cover/lib/python2.7/UserDict.py", 
line 23, in __getitem__
      raise KeyError(key)
  KeyError: 'VIRTUAL_ENV'
  ERROR: InvocationError: '/home/salvatore/git/quantum/.tox/cover/bin/python 
tools/patch_tox_venv.py'
  
__________________________________________________________________________________________________
 summary 
__________________________________________________________________________________________________
  ERROR:   cover: commands failed

  
  Tox.ini does not add VIRTUALENV to the environment:

  [testenv:cover]
  setenv = NOSE_WITH_COVERAGE=1

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to