-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move ImageValidator and DescriptionValidator validations to IntegrationValidator #330
Conversation
@@ -66,15 +75,18 @@ def is_valid_file(self, validate_rn=True): | |||
self.is_valid_fetch(), | |||
self.is_valid_display_name(), | |||
self.is_all_params_not_hidden(), | |||
self.is_valid_image(), | |||
self.is_valid_description(beta_integration=False) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
self.is_valid_description(beta_integration=False) | |
self.is_valid_description(beta_integration=False), |
"""Check whether the beta Integration is valid or not, update the _is_valid field to determine that""" | ||
answers = [ | ||
self.is_valid_default_arguments(), | ||
self.is_valid_beta(), | ||
self.is_valid_image(), | ||
self.is_valid_description(beta_integration=True) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
self.is_valid_description(beta_integration=True) | |
self.is_valid_description(beta_integration=True), |
Returns: | ||
bool. True if there aren't hidden parameters False otherwise. | ||
bool: True if description image/logo is valid, False otherwise. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bool: True if description image/logo is valid, False otherwise. | |
bool: True if integration description is valid, False otherwise. |
@yaakovi please see my changes:
|
Pull Request Test Coverage Report for Build 2322
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch
looks good now
Status
Description
Moved
ImageValidator
andDescriptionValidator
validations fromfile_validator
tointegration
Must have