Skip to content

Conversation

@anselor
Copy link
Contributor

@anselor anselor commented Aug 6, 2020

Verify that a completer function is defined in a CommandSet before
passing it a CommandSet instance.
Search for a CommandSet instance that matches the completer's parent
class type.`

Resolves Issue #967

Renamed isolated_tests directory to tests_isolated for better visual grouping. Added some exception documentation

@codecov
Copy link

codecov bot commented Aug 6, 2020

Codecov Report

Merging #968 into master will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #968      +/-   ##
==========================================
+ Coverage   97.78%   97.79%   +0.01%     
==========================================
  Files          22       22              
  Lines        4465     4493      +28     
==========================================
+ Hits         4366     4394      +28     
  Misses         99       99              
Impacted Files Coverage Δ
cmd2/exceptions.py 100.00% <ø> (ø)
cmd2/__init__.py 100.00% <100.00%> (ø)
cmd2/argparse_completer.py 100.00% <100.00%> (ø)
cmd2/utils.py 97.84% <100.00%> (+0.08%) ⬆️

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 2c99c0d...e2d71ec. Read the comment docs.

kmvanbrunt
kmvanbrunt previously approved these changes Aug 6, 2020
Copy link
Member

@kmvanbrunt kmvanbrunt left a comment

Choose a reason for hiding this comment

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

We'll want to improve code coverage get_defining_class()

anselor added 2 commits August 6, 2020 15:30
passing it a CommandSet instance.
Search for a CommandSet instance that matches the completer's parent
class type.`

Resolves Issue #967

Renamed isolated_tests directory to tests_isolated for better visual grouping. Added some exception documentation
@anselor anselor merged commit 47568c0 into master Aug 6, 2020
@anselor anselor deleted the cmdset_completers branch August 6, 2020 20:01
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.

3 participants