Add mocked tests: get_backup_policy #345
Labels
good first issue
Good for newcomers
hacktoberfest
A good hacktoberfest issue!
help wanted
Extra attention is needed
Overview
Enhance test coverage by adding mocked test for the function that retrieves the backup policy for an existing droplet -
get_backup_policy
.Mocked tests do not act against the real API so no real resources are created.
To run mocked tests, run:
make test-mocked
Instructions
make install
test_get_backup_policy
for droplets.get_backup_policy.Note: The function implementation can be found in src/pydo/operations/_operations.py.
The text was updated successfully, but these errors were encountered: