Skip to content

Validate arguments of utils.status.show() #1266

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

Merged
merged 1 commit into from
May 13, 2020
Merged

Conversation

ehmicky
Copy link
Contributor

@ehmicky ehmicky commented May 13, 2020

This PR adds input validation to the utils.status.show() method (related to #1223).

@ehmicky ehmicky added the type: feature code contributing to the implementation of a feature and/or user facing functionality label May 13, 2020
@ehmicky ehmicky requested a review from erezrokah May 13, 2020 11:38
@ehmicky ehmicky self-assigned this May 13, 2020
Copy link
Contributor

@erezrokah erezrokah left a comment

Choose a reason for hiding this comment

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

Would you consider adding some tests to this logic? Can also be done when the feature is finalized

@ehmicky ehmicky force-pushed the feat/validate-status branch from 2537625 to 65b72a3 Compare May 13, 2020 12:12
@ehmicky
Copy link
Contributor Author

ehmicky commented May 13, 2020

Fixed! I just added some tests to cover this PR.

@ehmicky ehmicky requested a review from erezrokah May 13, 2020 12:12
Copy link
Contributor

@erezrokah erezrokah left a comment

Choose a reason for hiding this comment

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

Thanks for adding the tests 🔥

@ehmicky ehmicky force-pushed the feat/validate-status branch from 65b72a3 to 1e143ca Compare May 13, 2020 12:23
@ehmicky
Copy link
Contributor Author

ehmicky commented May 13, 2020

I just simplified the tests so they all re-use the same fixture instead of having one fixture per test.

@ehmicky ehmicky merged commit 9b5bdeb into master May 13, 2020
@ehmicky ehmicky deleted the feat/validate-status branch May 13, 2020 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature code contributing to the implementation of a feature and/or user facing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants