Skip to content

Conversation

@okurz
Copy link
Member

@okurz okurz commented Dec 8, 2025

@codecov
Copy link

codecov bot commented Dec 10, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.01%. Comparing base (f3b91a3) to head (78fd366).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #321      +/-   ##
==========================================
- Coverage   94.09%   94.01%   -0.08%     
==========================================
  Files          51       51              
  Lines        4808     4747      -61     
  Branches      302      301       -1     
==========================================
- Hits         4524     4463      -61     
  Misses        202      202              
  Partials       82       82              

☔ 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.

@okurz
Copy link
Member Author

okurz commented Dec 10, 2025

Fixed the branch coverage regression in openqabot/main.py and added three commits

@okurz okurz force-pushed the feature/coverage17 branch 2 times, most recently from c98c81a to 6c3bbe8 Compare December 12, 2025 11:49
@Wabri Wabri self-requested a review December 12, 2025 12:41
Copy link
Member

@Wabri Wabri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrong checkbox clicked on the previous review

@okurz okurz force-pushed the feature/coverage17 branch 2 times, most recently from db8fa3e to 6448585 Compare December 12, 2025 14:17
@okurz okurz force-pushed the feature/coverage17 branch 2 times, most recently from be06bdb to d6079aa Compare December 12, 2025 14:41
@okurz
Copy link
Member Author

okurz commented Dec 12, 2025

@Wabri please re-review. I tried to address your points. @Martchus all your points addressed except for the open discussion #321 (comment)

…l-mb/python-refactoring-skills

This adds targets for additional code quality checks that seem to be not
covered by ruff, i.e. maintainability check and duplication checks.
complexity is already covered by C901.

"radon" only outputs violations. The Python package "xenon" would call
radon and fail if violations found but the package is not available in
openSUSE so I was implementing a very simple check with inverted grep
for "any output".
okurz added 17 commits December 15, 2025 13:59
…syncres.py

Replaced pytest.MonkeyPatch with unittest.mock.patch for mocking
in tests/test_incsyncres.py.
…st_openqabot_simple.py

Replaced pytest.MonkeyPatch with unittest.mock.patch for mocking
in tests/test_openqabot_simple.py.
…elper.py

Replaced pytest.MonkeyPatch with unittest.mock.patch for mocking
in tests/test_pc_helper.py.
…tsync.py

Replaced pytest.MonkeyPatch with unittest.mock.patch for mocking
in tests/test_smeltsync.py.
This prevents a confusing log message like

```
Unable to load config file '/etc/openqabot/singlearch.yml': 'list' object has no attribute 'get'
```
@okurz okurz force-pushed the feature/coverage17 branch from d6079aa to 78fd366 Compare December 15, 2025 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants