Works for me - the load line shows:
....
ZopelessLayer.testSetUp 2445 calls taking 1.9s. ZopelessLayer.testTearDown 2445 calls taking negligible time.
Total duration of profiled methods 2284.9 seconds.
Total duration of test run 12725.0 seconds.
Tests failed (exit code 1) make: *** [check] Error 1 ====================================================================== FAIL: distribution_txt ---------------------------------------------------------------------- Text attachment: traceback ------------ Traceback (most recent call last): File "/usr/lib/python2.6/unittest.py", line 279, in run testMethod() File "/usr/lib/python2.6/doctest.py", line 2152, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for distribution.txt File "lib/lp/soyuz/tests/../doc/distribution.txt", line 0
---------------------------------------------------------------------- File "lib/lp/soyuz/tests/../doc/distribution.txt", line 86, in distribution.txt Failed example: gentoo.newSeries('gentoo-two', 'Gentoo Two', 'Gentoo Two Dot Oh', 'Gentoo 2', 'G2', '2.0', None, gentoo.owner) Differences (ndiff with -expected +actual): Traceback (most recent call last): - ... + File "/usr/lib/python2.6/doctest.py", line 1248, in __run + compileflags, 1) in test.globs + File "<doctest distribution.txt[19]>", line 1, in <module> + gentoo.newSeries('gentoo-two', 'Gentoo Two', - Unauthorized: (<Distribution...>, 'newSeries', 'launchpad.Append') ? ^^^ ^^^ ^^ + Unauthorized: (<Distribution 'Gentoo' (gentoo)>, 'newSeries', 'launchpad.Moderate') ? ^^^^^^^^^^^^^^^^^^ ^^^ ^^^^
------------ id: 0 tests: 9540 failures: 1 skips: 23
Works for me - the load line shows:
....
ZopelessLayer. testSetUp 2445 calls taking 1.9s. testTearDown 2445 calls taking negligible time.
ZopelessLayer.
Total duration of profiled methods 2284.9 seconds.
Total duration of test run 12725.0 seconds.
Tests failed (exit code 1) ======= ======= ======= ======= ======= ======= ======= ======= ======= ------- ------- ------- ------- ------- ------- ------- ------- ------- python2. 6/unittest. py", line 279, in run python2. 6/doctest. py", line 2152, in runTest eption( self.format_ failure( new.getvalue( ))) soyuz/tests/ ../doc/ distribution. txt", line 0
make: *** [check] Error 1
=======
FAIL: distribution_txt
-------
Text attachment: traceback
------------
Traceback (most recent call last):
File "/usr/lib/
testMethod()
File "/usr/lib/
raise self.failureExc
AssertionError: Failed doctest test for distribution.txt
File "lib/lp/
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- soyuz/tests/ ../doc/ distribution. txt", line 86, in distribution.txt newSeries( 'gentoo- two', 'Gentoo Two',
'Gentoo Two Dot Oh', 'Gentoo 2', 'G2',
'2.0', None, gentoo.owner) python2. 6/doctest. py", line 1248, in __run txt[19] >", line 1, in <module> newSeries( 'gentoo- two', 'Gentoo Two', Moderate' )
File "lib/lp/
Failed example:
gentoo.
Differences (ndiff with -expected +actual):
Traceback (most recent call last):
- ...
+ File "/usr/lib/
+ compileflags, 1) in test.globs
+ File "<doctest distribution.
+ gentoo.
- Unauthorized: (<Distribution...>, 'newSeries', 'launchpad.Append')
? ^^^ ^^^ ^^
+ Unauthorized: (<Distribution 'Gentoo' (gentoo)>, 'newSeries', 'launchpad.
? ^^^^^^^^^^^^^^^^^^ ^^^ ^^^^
------------
id: 0 tests: 9540 failures: 1 skips: 23