Skip to content
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

test: remove dead system test code in test_python_crashes #231

Merged
merged 1 commit into from Oct 25, 2023

Conversation

bdrung
Copy link
Collaborator

@bdrung bdrung commented Oct 25, 2023

The system tests call _test_crash always with extracode set and never set scriptname. Remove this dead code to increase code coverage.

The system tests call `_test_crash` always with `extracode` set and
never set `scriptname`. Remove this dead code to increase code coverage.

Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
@codecov
Copy link

codecov bot commented Oct 25, 2023

Codecov Report

Merging #231 (81f84c9) into main (917c562) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #231      +/-   ##
==========================================
+ Coverage   82.98%   82.99%   +0.01%     
==========================================
  Files          92       92              
  Lines       18748    18744       -4     
==========================================
- Hits        15558    15557       -1     
+ Misses       3190     3187       -3     
Files Coverage Δ
tests/system/test_python_crashes.py 100.00% <100.00%> (+3.33%) ⬆️

@schopin-pro schopin-pro merged commit 3124d91 into canonical:main Oct 25, 2023
25 checks passed
@bdrung bdrung deleted the unused-code branch October 25, 2023 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants