-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[Marketplace Contribution] Content Testing - Content Pack Update #28959
[Marketplace Contribution] Content Testing - Content Pack Update #28959
Conversation
Thank you for your contribution. Your generosity and caring are unrivaled! Rest assured - our content wizard @RosenbergYehuda will very shortly look over your proposed changes. |
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.
Great job @rurhrlaub!
I added some small fixes, please take a look.
If you have any questions, feel free to response back on my comments.
try: | ||
args = demisto.args() | ||
testName = args.get("testName", "") |
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.
Why did you remove these 3 lines in to the 'try' block?
It does not need to be there beucus there is no scenario for it to fail, and the way it is now will not execute, because in the bottom the 'except Exception' is out of the 'try' block and we call 'testName', which is inside of the 'try' block.
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.
Same here. No lines removed and exception still valid?
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.
Sorry, please ignore this.
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.
Hi @rurhrlaub, how are you?
I've messaged you via Slack. Is "David Uhrlaub" your username there?
I'm currently looking into this unusual problem of lines moving without your touch, and would greatly value your responses.
@@ -1,5 +1,6 @@ | |||
import demistomock as demisto # noqa: F401 | |||
from CommonServerPython import * # noqa: F401 | |||
# Final Test: 6.10 |
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.
I think this can be removed.
# Final Test: 6.10 |
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.
ok
@@ -1,6 +1,6 @@ | |||
import demistomock as demisto # noqa: F401 | |||
from CommonServerPython import * # noqa: F401 | |||
|
|||
# Final Test: 6.10 |
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 be removed, correct?
# Final Test: 6.10 |
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.
ok
@@ -1,5 +1,6 @@ | |||
import demistomock as demisto # noqa: F401 | |||
from CommonServerPython import * # noqa: F401 | |||
# Final Test: 6.10 |
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.
same here
@@ -1,5 +1,6 @@ | |||
import demistomock as demisto # noqa: F401 | |||
from CommonServerPython import * # noqa: F401 | |||
# Final Test: 6.10 |
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.
same here
@@ -1,5 +1,6 @@ | |||
import demistomock as demisto # noqa: F401 | |||
from CommonServerPython import * # noqa: F401 | |||
# Final Test: 6.10 |
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.
same here
@@ -1,5 +1,6 @@ | |||
import demistomock as demisto # noqa: F401 | |||
from CommonServerPython import * # noqa: F401 | |||
# Final Test: 6.10 |
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.
Same here
Dear @rurhrlaub, I hope this message finds you well. Firstly, I want to express my appreciation for your efforts in contributing to the content. Your dedication to the project is evident, and I wanted to share a couple of suggestions to further enhance the quality of the work: Misconfigurations
I trust that these suggestions will be valuable in fine-tuning the content. Once again, thank you for your commitment and hard work. I'm confident that with these minor tweaks, we'll be able to deliver an even more polished product to our users. Warm regards, |
Fixed "script": "UnitTestMultiSelect",
@rurhrlaub Best regards, |
…7' into rurhrlaub-contrib-ContentTesting-7
…7' into rurhrlaub-contrib-ContentTesting-7
…7' into rurhrlaub-contrib-ContentTesting-7
6cb2787
into
demisto:contrib/xsoar-contrib_rurhrlaub-contrib-ContentTesting-7
) * [Marketplace Contribution] Content Testing - Content Pack Update (#28959) * "contribution update to pack "Content Testing"" * Update incidentfield-Content_Testing_Unit_Test_Playbooks.json Fixed "script": "UnitTestMultiSelect", * remove the wired changes in the pr * help the build pass * validate * avoiding breaking changes * docker image * docker image --------- Co-authored-by: David Uhrlaub <[email protected]> Co-authored-by: Yehuda <[email protected]> Co-authored-by: Yehuda Rosenberg <[email protected]> * change default * add default value for unrequited argument * RN * fix validate --------- Co-authored-by: xsoar-bot <[email protected]> Co-authored-by: David Uhrlaub <[email protected]> Co-authored-by: Yehuda <[email protected]> Co-authored-by: Yehuda Rosenberg <[email protected]>
…isto#29308) * [Marketplace Contribution] Content Testing - Content Pack Update (demisto#28959) * "contribution update to pack "Content Testing"" * Update incidentfield-Content_Testing_Unit_Test_Playbooks.json Fixed "script": "UnitTestMultiSelect", * remove the wired changes in the pr * help the build pass * validate * avoiding breaking changes * docker image * docker image --------- Co-authored-by: David Uhrlaub <[email protected]> Co-authored-by: Yehuda <[email protected]> Co-authored-by: Yehuda Rosenberg <[email protected]> * change default * add default value for unrequited argument * RN * fix validate --------- Co-authored-by: xsoar-bot <[email protected]> Co-authored-by: David Uhrlaub <[email protected]> Co-authored-by: Yehuda <[email protected]> Co-authored-by: Yehuda Rosenberg <[email protected]>
Status
Contributor
@rurhrlaub
Notes
UnitTestLayout picked up script ID GUIDs in some cases and several scripts also picked up GUIDs. All replaced by name references:
UnitTestSetField
UnitTestLoadFieldsList
UnitTestLoadContextList
UnitTestSaveContextList
UnitTestSaveFieldsList
UnitTestLoadContext
UnitTestLoadFields
UnitTestCoverage
UnitTest
UnitTestPlaybookAnalyzer
ContentDependencies
UpgradeCheck
ChangeHistory
Video Link
Short demo video of the Pack usage. Speeds up the review. Optional but recommended. Use a video sharing service such as Google Drive or YouTube.