BIND 10 #2221: Add verbosity=2 as an argument when running Python unittests
BIND 10 Development
do-not-reply at isc.org
Fri Aug 24 04:12:51 UTC 2012
#2221: Add verbosity=2 as an argument when running Python unittests
-------------------------------------+-------------------------------------
Reporter: muks | Owner: muks
Type: enhancement | Status: new
Priority: medium | Milestone: New
Component: Unclassified | Tasks
Sensitive: 0 | Keywords:
Sub-Project: DNS | Defect Severity: N/A
Estimated Difficulty: 0 | Feature Depending on Ticket:
Total Hours: 0 | Add Hours to Ticket: 0
| Internal?: 0
-------------------------------------+-------------------------------------
In #2165, we had a case where Python test output was printed in the order
in which the tests occurred in the file, but were run in a different
order. I looked at the wrong testcase as the cause of later failures for
some time.
Currently the test names are not printed as they are run. Adding
`verbosity=2` to the `unittests.main()` call should make these be printed.
But this argument is available on Python 3.2+ only. So we should use a
try/except block and make it verbose where it's available.
--
Ticket URL: <http://bind10.isc.org/ticket/2221>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list