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

Add tests for cmdline.py #93

Merged
merged 2 commits into from
Nov 28, 2020
Merged

Add tests for cmdline.py #93

merged 2 commits into from
Nov 28, 2020

Conversation

jugmac00
Copy link
Collaborator

@jugmac00 jugmac00 commented Nov 28, 2020

  • Add test for printing help when cli is called with no args
  • Add test for the overview cli option

This is one PR (of many) to get test coverage to 100%, see #92

@codecov
Copy link

codecov bot commented Nov 28, 2020

Codecov Report

Merging #93 (e1cba1c) into master (805e1b3) will increase coverage by 0.49%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #93      +/-   ##
==========================================
+ Coverage   93.33%   93.83%   +0.49%     
==========================================
  Files           7        8       +1     
  Lines        1291     1363      +72     
  Branches      117      132      +15     
==========================================
+ Hits         1205     1279      +74     
+ Misses         64       63       -1     
+ Partials       22       21       -1     
Impacted Files Coverage Δ
tnefparse/cmdline.py 95.83% <0.00%> (ø)
cmdline.py 95.83% <0.00%> (+6.94%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 805e1b3...e1cba1c. Read the comment docs.

@jugmac00 jugmac00 mentioned this pull request Nov 28, 2020
modified:   tests/test_cmdline.py
@jugmac00 jugmac00 changed the title Add test for printing help when cli is called with no args Add tests for cmdline.py Nov 28, 2020
@petri petri merged commit 25894f9 into master Nov 28, 2020
@jugmac00 jugmac00 deleted the test-help-text branch November 28, 2020 13:36
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.

2 participants