-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
100% unit test coverage for replace.py
Also: ImagePolicyReplaceBulk: initialize verb/path in __init__() ImagePolicyReplaceBulk: add _verify_payload to check that mandatory keys are present in all payloads ImagePolicyReplaceBulk.payloads: refactor to leverage _verify_payloads() ImagePolicyReplaceBulk.default_policy: privatize method name -> _default_policy ImagePolicyReplaceBulk.image_policies: privatize instance name -> _image_policies ImagePolicyReplaceBulk.image_policies: Add comments to clarify some code ImagePolicyReplaceBulk.image_policies: Add debug statements ImagePolicyReplaceBulk._send_payloads: directly set self._result_current and self._response_current from the calls to _handle_response and dcnm_send respectively ImagePolicyReplaceBulk._send_payloads: out of paranoia, use copy.deepcopy() in assignments ImagePolicyReplaceBulk._process_responses: set self.failed as appropriate ImagePolicyCommon: add some debug logs ImagePolicyCreateCommon: out of paranoia, use copy.deepcopy() in assignments ImagePolicyDelete: Remove TODO from commit() docstring
- Loading branch information
1 parent
e5d1ce4
commit dcbaaf7
Showing
12 changed files
with
1,167 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.