Test suite shouldn't depend on python-fixtures

Bug #667513 reported by Martin Packman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
testtools
Fix Released
Critical
Jonathan Lange

Bug Description

As of r124 the test suite fails to import if fixtures is not found:

Traceback (most recent call last):
  File "C:\bzr\testtools\testtools\run.py", line 280, in ?
    program = TestProgram(argv=sys.argv, testRunner=runner)
  File "C:\bzr\testtools\testtools\run.py", line 133, in __init__
    self.parseArgs(argv)
  File "C:\bzr\testtools\testtools\run.py", line 188, in parseArgs
    self.createTests()
  File "C:\bzr\testtools\testtools\run.py", line 197, in createTests
    self.module)
  File "C:\Python24\lib\unittest.py", line 556, in loadTestsFromNames
    suites = [self.loadTestsFromName(name, module) for name in names]
  File "C:\Python24\lib\unittest.py", line 544, in loadTestsFromName
    test = obj()
  File "C:\bzr\testtools\testtools\tests\__init__.py", line 9, in test_suite
    from testtools.tests import (
  File "C:\bzr\testtools\testtools\tests\test_testtools.py", line 9, in ?
    import fixtures
ImportError: No module named fixtures

Jonathan Lange (jml)
Changed in testtools:
status: New → Triaged
importance: Undecided → High
Jonathan Lange (jml)
Changed in testtools:
status: Triaged → Fix Committed
assignee: nobody → Jonathan Lange (jml)
milestone: none → next
Changed in testtools:
importance: High → Critical
Changed in testtools:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.