Skip to content

Fixed bugs, removed dead code, and added unit tests#165

Merged
tleonhardt merged 1 commit intomasterfrom
history_tests
Jul 2, 2017
Merged

Fixed bugs, removed dead code, and added unit tests#165
tleonhardt merged 1 commit intomasterfrom
history_tests

Conversation

@tleonhardt
Copy link
Copy Markdown
Member

Fixed a bug where CmdResult named tuple Truthiness wasn't working in Python 2

Removed unused cmd2.History.search() method.

Added unit tests for:

  • History class
  • cast() function
  • CmdResult namedtuple

Fixed a bug where CmdResult named tuple Truthiness wasn't working in Python 2

Removed unused cmd2.History.search() method.

Added unit tests for:
- History class
- cast() function
- CmdResult namedtuple
@tleonhardt tleonhardt added this to the 0.7.4 milestone Jul 2, 2017
@tleonhardt tleonhardt self-assigned this Jul 2, 2017
@codecov
Copy link
Copy Markdown

codecov Bot commented Jul 2, 2017

Codecov Report

Merging #165 into master will increase coverage by 2.33%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #165      +/-   ##
==========================================
+ Coverage   93.88%   96.22%   +2.33%     
==========================================
  Files           1        1              
  Lines        1145     1138       -7     
==========================================
+ Hits         1075     1095      +20     
+ Misses         70       43      -27
Impacted Files Coverage Δ
cmd2.py 96.22% <100%> (+2.33%) ⬆️

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 482e9ce...b0c3fa4. Read the comment docs.

@tleonhardt tleonhardt merged commit 29578be into master Jul 2, 2017
@tleonhardt tleonhardt deleted the history_tests branch July 2, 2017 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant