-
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.
Initial unit tests and fixtures, more...
Adding some initial unit tests. As a result of these, found several issues which are address in the tested code for this commit. Within tests/unit/modules/dcnm/dcnm_image_policy: - utils.py: Add fixtures, add comments for unused fixtures to remove later - test_image_policy_create.py: initial unit tests for ImagePolicyCreate() - test_image_policy_create_bulk.py: initial unit tests for ImagePolicyCreateBulk() - Add json data for above test cases Within module_utils/image_policy - update.py: refactor, run through linters, test changes - replace.py: refactor, run through linters, test changes - params_spec.py: run though linters - delete.py: run through linters - create.py: run through linters, refactor - common.py: self.module should be self.ansible_module
- Loading branch information
1 parent
57accb0
commit 8b12057
Showing
11 changed files
with
598 additions
and
114 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.