pydo
pydo copied to clipboard
Add Mocked Tests: Uptime (part 1)
Overview Add more test coverage for Pydo, specifically for Uptime
Mocked Tests: tests/mocked/ Tests in the mocked directory include:
- Tests that validate the generated client has all the expected classes and methods for the respective API resources and operations.
- Tests that exercise individual operations against mocked responses.
These tests do not act against the real API so no real resources are created.
To run mocked tests, run:
make test-mocked
Instructions
- Clone this repo.
- If you haven't already, install Python (version: >= 3.7.2) through their official installer.
- CD into the directory and run make install
- Create file: tests/mocked/test_uptime.py
- Add tests for
uptime.create_alert,uptime.create_check,uptime.delete_alert,uptime.delete_check,uptime.get_alert,uptime.get_check - API documentation is here
- Pydo Documentation is here
started working on this
@danaelhe you can close this issue. completed in #219
@danaelhe you can close this issue. completed in #219
PR #219 closes Github Issue #213 ! This one's still free.
I've started working on this.