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 unit tests to CLI #1798

Merged
merged 1 commit into from Aug 4, 2020
Merged

Add unit tests to CLI #1798

merged 1 commit into from Aug 4, 2020

Conversation

kmcgrady
Copy link
Collaborator

@kmcgrady kmcgrady commented Aug 1, 2020

Issue: #83

Description:

  • Added Makefile instruction to create html coverage reports
  • Updated gitignore to ignore htmlcov folder
  • Moved CLI test coverage from 76% to 99%

Contribution License Agreement

By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.

* Added Makefile instruction to create html coverage reports
* Updated gitignore to ignore htmlcov folder
* Moved CLI test coverage from 76% to 99%
@kmcgrady kmcgrady requested a review from a team as a code owner August 1, 2020 18:09
@@ -55,7 +55,7 @@ def _convert_config_option_to_click_option(config_option):
description = config_option.description
if config_option.deprecated:
description += "\n {} - {}".format(
config_option.deprecation_text, config_option.deprecation_date
config_option.deprecation_text, config_option.expiration_date
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is weird. Looks like deprecation_date doesn't exist. I assume based on the structure, it's expiration_date

Copy link
Collaborator

Choose a reason for hiding this comment

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

Yup!

@kmcgrady kmcgrady merged commit a8a9046 into streamlit:develop Aug 4, 2020
@kmcgrady kmcgrady deleted the cli-tests-83 branch August 4, 2020 06:32
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.

None yet

2 participants