-
Notifications
You must be signed in to change notification settings - Fork 16
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
Adding Tests #9
Adding Tests #9
Conversation
@JeffResc looks good to me but since you had been working more closely with the tests could you take a look as well? |
Hi @travipross - Thanks for the PR, I really appreciate it! I don't have time to review this right this second, but I just wanted to reach out and say thank you. I should have time later this week and definitely by the end of this weekend to give this a look. |
No rush on my end! I'll probably keep tinkering away until then |
We're a little lacking on coverage, but it's definitely a start! Thanks @travipross 👍 |
Closes #4
This introduces a
pytest
suite of tests along with some configuration. So far, a number of unit tests have been written to cover all of the AylaApi methods that do not make any external web request. More tests can be added to this PR, or a new one could be created in the future to extend this baseline.I'd also be happy to integrate the tests into a new github actions workflow to run on pull requests, however, I lack the permissions. Proper authentication/integration tests would also likely require a valid Shark login to be stored as a repository secret.