-
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.
Forgot to commit image_policies.py and query.py
Changes include: - ImagePolicies: remove response, response_data, and ressult properties so that these are inherited from ImagePolicyCommon - ImagePolicyQuery: Set _policies_to_query in __init__ - ImagePolicyQuery: Set failed to False in __init__ - ImagePolicyQuery: make image_policies private (i.e. self._image_policies) - ImagePolicyQuery: policy_names setter. Add checks for empty list, and list containing other than string values. - ImagePolicyQuery._get_policies_to_query: set self._policies_to_query rather than returning _policies_to_query (easier for unit tests). - ImagePolicyQuery.commit: Don't re-instantiate ImagePolicies, use instance from __init__().
- Loading branch information
1 parent
04ce4e6
commit e5d1ce4
Showing
2 changed files
with
36 additions
and
48 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