Soyuz tests should use standard LP logger
Bug #117166 reported by
Julian Edwards
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
Low
|
Unassigned |
Bug Description
Many Soyuz tests use a "mock_logger" object for debug output and the code being tested has to pass around this logger object. Instead, the code should be using logging.getLogger() or simply directly use logging.debug()
See also bug 54348
Changed in soyuz: | |
status: | Needs Info → Confirmed |
description: | updated |
Changed in soyuz: | |
importance: | Undecided → Medium |
Changed in soyuz: | |
assignee: | nobody → cprov |
Changed in soyuz: | |
milestone: | 1.1.12 → 1.2.1 |
Changed in soyuz: | |
milestone: | 1.2.3 → none |
Changed in soyuz: | |
assignee: | Celso Providelo (cprov) → nobody |
tags: | added: tecj |
tags: |
added: tech-debt removed: tecj |
visibility: | private → public |
To post a comment you must log in.
When fixing this, we can also fix the fact that the doctests rely on the DEBUG output to check the email contents, when they should be looking at the output from pop_notificatio ns(). See files l/c/l/doc/ {nascentupload* .txt, distroreleasequ eue-notificatio ns.txt}