-
Notifications
You must be signed in to change notification settings - Fork 393
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
show warning instead of assert #290
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
abbbea6
to
a2f6956
Compare
User description
certain test frameworks will cache the test coverage report, which hits this assert
PR Type
Bug fix, Tests
Description
Replaced an assertion with a warning in
verify_report_update
.Updated logging behavior in
CustomLogger
.Added a test to validate warning logging in
verify_report_update
.Changes walkthrough 📝
CoverageProcessor.py
Replace assertion with warning in `verify_report_update`
cover_agent/CoverageProcessor.py
verify_report_update
.CustomLogger.py
Modify logger propagation behavior
cover_agent/CustomLogger.py
logger.propagate
line.test_CoverageProcessor.py
Add test for logging in `verify_report_update`
tests/test_CoverageProcessor.py
verify_report_update
.caplog
to capture and assert warning messages.