Closed loosla closed 2 weeks ago
@loosla list_supported_backup_policies method is for droplets. I think we need to add test case in test_droplets.py. Can you please confirm. Also, please assign it to me.
Thank you for catching that! I’ve updated the description.
Overview
Enhance test coverage by adding mocked test for the function that lists supported droplet backup policies -
list_supported_backup_policies
.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_list_supported_backup_policies
for droplets.list_supported_backup_policies.Note: The function implementation can be found in src/pydo/operations/_operations.py.