← Back to issue list

Use the log fixture for logging by default for ut

View original Github issue

Metadata

Project
snapcraft
Number
#284
Type
pull request
State
merged
Author
sergiusens
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #284 (commit 767fed9e0; merge 220be7250) made the log fixture the unit-test default, preventing log messages from leaking to the console.

Resolution: closed resolved

Reason: The change was merged into main via merge commit 220be7250. Commit 767fed9e0 enabled the log fixture by default for unit tests, resolving LP #1539817.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Unit tests now have the logging fixture set by default to avoid leaking messages to the console LP: #1539817

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #284 (commit 767fed9e0; merge 220be7250) made the log fixture the unit-test default, preventing log messages from leaking to the console.
stealth/space-bunny-alpha — closed resolved Merged in canonical/snapcraft#284, making the log fixture the default for unit tests to prevent logging messages from leaking to the console.
qwen/qwen3.6-35b-a3b — — Merged. Sets the logging fixture as the default for unit tests to prevent console message leakage. Approved by reviewers and integrated with minimal changes.
qwen3.6-35b-a3b-mtp-q6 — — Merged. Configures unit tests to use a logging fixture by default, preventing console output leakage. Approved by reviewers and integrated into the codebase.

Update history

No update history recorded yet.

Related work

Related issues

Issue Project State Summary Similarity
#1539817 Unit tests are leaking messages snapcraft (launchpad) closed Unit tests leaked logging output to the console. Fixed by snapcraft PR #284 (merge 220be7250, commit 767fed9e0 "Use the log fixture for logging by default for ut"), which made the log fixture the default for unit tests.
79%