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 to Tools to check that help message works #1034

Merged
merged 2 commits into from
Mar 27, 2019

Conversation

watsonjj
Copy link
Contributor

Errors are raised when trying to print the help message if there is a traitlet mismatch between the Tool aliases, and the components. This was not previously tested for.

@codecov
Copy link

codecov bot commented Mar 26, 2019

Codecov Report

Merging #1034 into master will increase coverage by 0.06%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1034      +/-   ##
==========================================
+ Coverage   83.28%   83.35%   +0.06%     
==========================================
  Files         189      189              
  Lines       10643    10669      +26     
==========================================
+ Hits         8864     8893      +29     
+ Misses       1779     1776       -3
Impacted Files Coverage Δ
ctapipe/tools/bokeh/file_viewer.py 73.12% <ø> (ø) ⬆️
ctapipe/tools/extract_charge_resolution.py 74.64% <100%> (+28.81%) ⬆️
ctapipe/tools/tests/test_tools.py 100% <100%> (ø) ⬆️
ctapipe/tools/camdemo.py 55.68% <0%> (-20.46%) ⬇️

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 cc215e2...d470032. Read the comment docs.

Copy link
Member

@dneise dneise left a comment

Choose a reason for hiding this comment

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

more tests, always good!

@maxnoe maxnoe merged commit a1149f1 into cta-observatory:master Mar 27, 2019
watsonjj added a commit to watsonjj/ctapipe that referenced this pull request Mar 27, 2019
* master:
  Add tests to Tools to check that help message works (cta-observatory#1034)
  make codacy happy
  Fix neighbors (cta-observatory#1015)
  Fix component docs (cta-observatory#1016) related to cta-observatory#1013
  allow enums in containers and support in tableio

# Conflicts:
#	ctapipe/tools/bokeh/file_viewer.py
#	ctapipe/tools/extract_charge_resolution.py
watsonjj added a commit to watsonjj/ctapipe that referenced this pull request Mar 28, 2019
* master:
  Corrections to address comments
  Add tests to Tools to check that help message works (cta-observatory#1034)
  make codacy happy
  Fix neighbors (cta-observatory#1015)
  Fix component docs (cta-observatory#1016) related to cta-observatory#1013
  allow enums in containers and support in tableio
watsonjj added a commit to watsonjj/ctapipe that referenced this pull request Mar 29, 2019
* master:
  Corrections to address comments
  Add tests to Tools to check that help message works (cta-observatory#1034)
  make codacy happy
  Fix neighbors (cta-observatory#1015)
  Fix component docs (cta-observatory#1016) related to cta-observatory#1013
  allow enums in containers and support in tableio

# Conflicts:
#	ctapipe/image/tests/test_charge_extraction.py
#	ctapipe/image/waveform_extractor.py
#	ctapipe/tools/extract_charge_resolution.py
@watsonjj watsonjj deleted the tool_tests branch April 29, 2019 13:54
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