Am 25.06.2013 00:29, schrieb Alessandro Molina:
Ok, finally found the reason.
While on more recent versions the output for subtests is:
tgtest00.tests.functional.test_authentication.TestAuthentication.test_forced_login
Anonymous users are forced to login ... ok
On Python2.6 the class path is missing:
Anonymous users are forced to login ... ok
Right, I remember. Unittest had the annoying feature of only showing the
docstring before this was fixed in Py 2.7 with unittest2.
It is actually possible to change the output by adding a method
shortDescription() to the test class. But this only works if the test
class derives from unittest.TestCase.
-- Christoph
--
You received this message because you are subscribed to the Google Groups
"TurboGears Trunk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/turbogears-trunk.
For more options, visit https://groups.google.com/groups/opt_out.