pydo
pydo copied to clipboard
Add Mocked Tests: Functions
Overview Add more test coverage for Pydo, specifically for Functions
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_functions.py
- Add tests for
functions.create_namespace,functions.create_trigger,functions.delete_namespace,functions.delete_trigger,functions.get_namespace,functions.get_trigger,functions.list_namespaces,functions.list_triggers,functions.update_trigger - API documentation is here
- Pydo Documentation is here
Hi @danaelhe I would like to work on this. Kindly assign this to my name
@PalaniappanC you can start working and make a PR :)
I've started working on this.