Increase test coverage across core, platform, UI, IPC, and applet modules#199
Open
edumucelli wants to merge 3 commits into
Open
Increase test coverage across core, platform, UI, IPC, and applet modules#199edumucelli wants to merge 3 commits into
edumucelli wants to merge 3 commits into
Conversation
- config.py: 94% → 100% — normalization, validation, edge cases - tooltip.py: 94% → 100% — timestamp parsing, relative time, recent items - items_service.py: 81% → 100% — D-Bus service lifecycle, error paths - theme/migration.py: 91% → 99% — migration edge cases, cleanup failures - theme/theme.py: 95% → 100% — indicator style fallback, backfill errors - recent_docs.py: 0% → 100% — document-to-app association - settings.py: 93% → 96% — recent apps/docs controls, binding edge cases - diagnostics.py: 18% → 49% — static methods, controller logic - update_popup.py: 25% → 46% — controller lifecycle, dismiss actions - model: integration tests for recent apps flow Overall: 89% → 90% (3,855 tests, 302 uncovered lines covered)
- base.py: 86% -> 92% — default hook coverage, icon source guards, popup anchor, drop URIs, font fitting fallthrough - caffeine/inhibit.py: 39% -> 99% — ScreenSaverInhibitor DBus acquire/ release paths, SystemdSleepInhibitor subprocess handling, CompositeInhibitor edge cases
✅ Deploy Preview for dockingbar canceled.
|
Use keyword arguments (domain='g-io-error-quark', code=0) instead of positional int arguments to avoid ValueError in GLib.Error.__str__ on Python 3.13 / openSUSE.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Increases project test coverage from 89% to 90% (3,711 to 3,884 tests, 269 previously uncovered lines now covered).
Module improvements
What was covered
Files changed