Closed loosla closed 2 weeks ago
Can I work on this ?
Hi @eleensmathew,
While there are currently no open PRs for this issue, it would be great if you could submit one!
To connect your PR to the issue, simply include keywords like closes #346 in the PR description. You can find more information here: https://docs.github.com/en/issues/tracking-your-work-with-issues/using-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword.
:shark: Thank you for your past contributions to DigitalOcean! We’re excited to your see your PRs! :shark:
@loosla list_backup_policies method is in DropletOperations. I think we need to add test case in test_droplets.py. Can you please confirm. Also, please assign it to me.
@gagan-bhullar-tech Thank you for catching that! I’ve updated the description. :+1:
I appreciate everyone's interest in contributing! Just a friendly reminder: when we assign someone to a PR in an open repository, it can sometimes limit opportunities for other developers to contribute, it may lead to issues being abandoned and work not progressing.
We generally would like to follow a first-come, first-served approach for assignments to ensure fairness.
I recommend leaving a comment to let others know you've started working on this issue, along with an approximate timeline for when you expect to finish. This way, everyone will be aware that you're handling it.
Thank you for your understanding! :ocean: :dolphin: :ocean:
Overview
Enhance test coverage by adding mocked test for the function that lists backup policies for all existing droplets -
list_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_backup_policies
for droplets.list_backup_policies.Note: The function implementation can be found in src/pydo/operations/_operations.py.