Comment 2 for bug 406413

Revision history for this message
James Westby (james-w) wrote :

Hi,

This fails to build in a clean chroot:

YTHONPATH=/tmp/buildd/testresources-0.2/lib: python ./test_all.py
Traceback (most recent call last):
  File "./test_all.py", line 127, in <module>
    sys.exit(main(sys.argv))
  File "./test_all.py", line 119, in main
    test_suite().visit(visitor)
  File "./test_all.py", line 82, in test_suite
    result.addTest(testresources.test_suite())
  File "/tmp/buildd/testresources-0.2/lib/testresources/__init__.py", line 26, in test_suite
    return testresources.tests.test_suite()
  File "/tmp/buildd/testresources-0.2/lib/testresources/tests/__init__.py", line 27, in test_suite
    import testresources.tests.test_optimising_test_suite
  File "/tmp/buildd/testresources-0.2/lib/testresources/tests/test_optimising_test_suite.py", line 21, in <module>
    import testtools
ImportError: No module named testtools
make[1]: *** [check] Error 1
make[1]: Leaving directory `/tmp/buildd/testresources-0.2'
make: *** [common-post-build-indep] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
E: Failed autobuilding of package
I: user script /var/cache/pbuilder/build/cow.14866/tmp/hooks/C10fail starting

NEWS states:

    * testresources needs testtools to run the testresources test suite. You
      can still use testresources without using testtools. (Jonathan Lange)