-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Update PyTyest, custom plugin, and remove unused dependency #13707
Update PyTyest, custom plugin, and remove unused dependency #13707
Conversation
Signed-off-by: sweeneys <sweeneys@amazon.com>
Marking PR as draft as it appears that it requires a Jenkins clean-build (and possibly additional steps) to prove functionality. |
@@ -1,6 +1,10 @@ | |||
""" | |||
r""" |
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 are you prepending an r to this docstring block? I'm guessing this is something I don't know.
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.
It makes it a raw string. In this case to make sure it contains literal backslashes instead of using backslash as an escape character. I wanted the string below to be copyable from the file into a Windows CLI, while also not making garbled text in the docstring.
Signed-off-by: sweeneys <sweeneys@amazon.com>
Signed-off-by: sweeneys <sweeneys@amazon.com>
Signed-off-by: sweeneys sweeneys@amazon.com
What does this PR do?
Resolves #10588 and #12685 by updating to the latest version of PyTest. Also includes minor updates to make it easier to run tests locally.
How was this PR tested?
Tests pass when running the following command with CWD in o3de/build:
ctest -C profile -L "(SUITE_smoke|SUITE_main)" --no-tests=error --parallel 12 --output-on-failure