Skip to content

Use new exception for handling absent policy#301

Merged
marmarek merged 1 commit into
QubesOS:mainfrom
ben-grande:custom-exc
Apr 29, 2026
Merged

Use new exception for handling absent policy#301
marmarek merged 1 commit into
QubesOS:mainfrom
ben-grande:custom-exc

Use new policy admin exceptions

57da930
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project failed Apr 29, 2026 in 1s

92.88% (-0.11%) compared to d56bb9e

View this Pull Request on Codecov

92.88% (-0.11%) compared to d56bb9e

Details

Codecov Report

❌ Patch coverage is 56.81818% with 19 lines in your changes missing coverage. Please review.
✅ Project coverage is 92.88%. Comparing base (d56bb9e) to head (57da930).
⚠️ Report is 12 commits behind head on main.

Files with missing lines Patch % Lines
qubes_config/tests/conftest.py 33.33% 10 Missing ⚠️
qubes_config/tests/test_policy_manager.py 54.54% 5 Missing ⚠️
qubes_config/policy_editor/policy_editor.py 70.00% 3 Missing ⚠️
qubes_config/global_config/policy_manager.py 87.50% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #301      +/-   ##
==========================================
- Coverage   92.99%   92.88%   -0.11%     
==========================================
  Files          64       64              
  Lines       13312    13349      +37     
==========================================
+ Hits        12379    12399      +20     
- Misses        933      950      +17     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.