← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1195371] Re: tox cover testing is failing due to a missing entry in tox.ini

 

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

** Changed in: keystone
    Milestone: None => havana-2

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

Title:
  tox cover testing is failing due to a missing entry in tox.ini

Status in OpenStack Identity (Keystone):
  Fix Released

Bug description:
  `tox -e cover` is failing due to a missing entry in keystone's tox.ini file.
  In tox.ini the following code appears:
  '''
  [testenv:cover]
  setenv = NOSE_WITH_COVERAGE=1
           NOSE_COVER_HTML=1
           NOSE_COVER_HTML_DIR={toxinidir}/cover
  '''

  Adding 'VIRTUAL_ENV={envdir}' to the setenv mapping, as shown below, has resolved the issue on my machine.
  '''
  [testenv:cover]
  setenv = VIRTUAL_ENV={envdir}
           NOSE_WITH_COVERAGE=1
           NOSE_COVER_HTML=1
           NOSE_COVER_HTML_DIR={toxinidir}/cover
  '''

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