-
Notifications
You must be signed in to change notification settings - Fork 22
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 Mock Test: Uptime #219
Conversation
@danaelhe am I on the right path? |
…ks, uptime.update_alert, uptime.update_check
Looks great!! Apologies, I should've included in the instructions but we lint our tests with the python package black. Currently, the "lint" test is failing for this PR but it's a super easy fix. If you run: Also, running |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks SO GOOD! Just need to push up a commit that fixes the lint tests 👍
Fixed the lint errors but when I run the command |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AWESOME job!! This is good to merge and ship 🚀
Thank you so much for your contribution!
refers issue #213
Add Mocked Tests: Uptime
add tests for uptime.lists_check , uptime.create_check
In API resources the method name is given by the name checks_list(), but the actual method name is list_checks(), thats a point to be noted and hence I have used the method list_check() while writing the tests, correct me if I am wrong.