Fix for PyTest editor test case names.

Signed-off-by: John <jonawals@amazon.com>
This commit is contained in:
John
2021-10-19 13:23:23 +01:00
parent 064a72bbac
commit ae6005545e
4 changed files with 8 additions and 8 deletions
@@ -90,7 +90,7 @@ class TestAutomationBase:
editor_starttime = time.time()
self.logger.debug("Running automated test")
testcase_module_filepath = self._get_testcase_module_filepath(testcase_module)
pycmd = ["--runpythontest", testcase_module_filepath, f"-pythontestcase={request.node.originalname}"]
pycmd = ["--runpythontest", testcase_module_filepath, f"-pythontestcase={request.node.name}"]
if use_null_renderer:
pycmd += ["-rhi=null"]
if batch_mode: