-
Notifications
You must be signed in to change notification settings - Fork 21
Feature/acd 4056 merge test cases for empty and dash fields #33
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
Feature/acd 4056 merge test cases for empty and dash fields #33
Conversation
| op = "" | ||
| for f in splunk_app_fields["fields"]: | ||
| search = search + f' {op} {f}="-"' | ||
| search = search + f' {op} {f}="-" OR {f}=""' |
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.
Can you please update the variable name in the file from f to field
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.
Done.
| op = "OR" | ||
| operator = "" | ||
| for field in splunk_app_fields["fields"]: | ||
| search = search + f' {operator} {field}="-" OR {field}=""' |
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.
Can we add parenthesis to OR for multiple fields.
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.
Done.
Merged the test cases "props fields with no dash" and "props fields with no empty values" in one.