← Back to team overview

touch-packages team mailing list archive

[Bug 1268421] Re: Test failures if subunit module is installed

 

** Also affects: subunit (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: subunit (Ubuntu)
       Status: New => Triaged

** Changed in: subunit (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to subunit in Ubuntu.
https://bugs.launchpad.net/bugs/1268421

Title:
  Test failures if subunit module is installed

Status in SubUnit:
  Triaged
Status in “subunit” package in Ubuntu:
  Triaged

Bug description:
  Several tests in the test_subunit_filter.py file run the subunit-
  filter command as part of the test suite. They find the path to the
  file by doing:

  root =
  os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname(__file__))))

  Which will fail if the subunit module has been installed to a
  virtualenv. This logic ought to work in both cases.

  To reproduce:

  autoreconf -vi
  mkdir -p build/py33
  virtualenv -p python3.3 build/py33/ve
  . build/py33/ve/bin/activate
  easy_install testtools && easy_install testscenarios
  python setup.py install
  cd build/py33
  ../../configure
  make distcheck

  Leaving out the 'python setup.py install' makes all the tests work.

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