Merge lp:~jml/launchpad/dont-print-in-tests into lp:launchpad
Proposed by
Jonathan Lange
on 2010-12-24
| Status: | Merged |
|---|---|
| Merged at revision: | 12154 |
| Proposed branch: | lp:~jml/launchpad/dont-print-in-tests |
| Merge into: | lp:launchpad |
| Diff against target: |
358 lines (+60/-31) 12 files modified
lib/canonical/buildd/pottery/generate_translation_templates.py (+8/-4) lib/canonical/buildd/tests/test_generate_translation_templates.py (+8/-5) lib/canonical/librarian/smoketest.py (+10/-7) lib/canonical/librarian/tests/test_smoketest.py (+8/-4) lib/canonical/testing/tests/test_parallel.py (+2/-3) lib/lp/bugs/browser/tests/test_bugtask.py (+0/-1) lib/lp/bugs/doc/checkwatches-cli-switches.txt (+5/-1) lib/lp/codehosting/codeimport/tests/test_worker.py (+5/-1) lib/lp/soyuz/doc/queuebuilder.txt (+2/-2) lib/lp/soyuz/scripts/buildd.py (+0/-2) lib/lp/testing/__init__.py (+9/-0) lib/lp_sitecustomize.py (+3/-1) |
| To merge this branch: | bzr merge lp:~jml/launchpad/dont-print-in-tests |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Jelmer Vernooij (community) | code | 2010-12-24 | Approve on 2010-12-30 |
|
Review via email:
|
|||
Commit Message
[r=jelmer]
Description of the Change
This branch fixes a bunch of tests to not print stuff to stdout / stderr during the test run.
It doesn't fix all of them, because bug #694152 makes it really hard to do so and because I have absolutely no idea what's going on with the 'lazr.smtptest' log handler.
To post a comment you must log in.

As discussed on IRC, r=me for this change without the call to patch().
14:59 < jelmer> jml: How hard would it be to avoid the patch() call in
test_ translationtemp latesbuildmanag er.py ? buildd/ debian. py
useful messages printed out by other bits of the code.
call for now?
15:00 < jml> jelmer: good question.
15:00 < jml> I think I'd need to change some stuff to not do "print "
15:03 < jml> jelmer: I think I'd have to change lib/canonical/
15:03 < jml> jelmer: I really didn't want to do that
15:05 < jml> brb
15:10 < jml> back
15:55 < jelmer> re
15:58 < jelmer> jml: I think that should be doable.
15:59 < jelmer> jml: My worry is that "eating" all of the stdout output might hide some
15:59 < jml> jelmer: ok. I'll give it a go.
16:00 < jelmer> jml: If you like, I'd be happy to +1 the changes without the patch()