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
Fp set rule 2to3 #21084
Fp set rule 2to3 #21084
Conversation
@@ -0,0 +1,38 @@ | |||
import demistomock as demisto # noqa: F401 | |||
from CommonServerPython import * # noqa: F401 | |||
|
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.
Missing test(s) for mutual exclusion of tritonsystem
and remoteaccessname
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 do we need this? The coverage is 70% it does not need to be 100%.
This test will not find any new issue. the test will use 2 mockers to test 2 lines that were mocked. It will not check any logic!
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.
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.
Discussed with Dan, and He told me that a unit test for this is not needed.
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.
Looks good.
Same comments for all files.
Link to the unit tests coverage report: |
Changed 2 scripts from py2 to py3 and added scripts.