Too much console logging during test suite

Bug #1207117 reported by Barry Warsaw
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu system image
Fix Released
Low
Barry Warsaw
system-image (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The new logging regime in 1.0 is much better for operational use, but not as nice for the test suite. When errors occur during the run of the state machine (even if they're properly caught and ignored), you'll get the output on the console.

Unfortunately, unittest doesn't have any good way to package-fixture the test suite, which is where we'd normally set the logging level lower for console output during the test run. Nose does, but I'm not sure it's worth adding that dependency.

Oh, and see http://bugs.python.org/issue16662 for why the obvious unittest hack doesn't work. :(

Barry Warsaw (barry)
tags: added: tech-debt
Barry Warsaw (barry)
Changed in ubuntu-system-image:
assignee: nobody → Barry Warsaw (barry)
milestone: none → 1.1
status: Triaged → Fix Committed
Barry Warsaw (barry)
Changed in ubuntu-system-image:
status: Fix Committed → Fix Released
Barry Warsaw (barry)
Changed in system-image (Ubuntu):
status: New → 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.