Ver Fonte

Fix incorrect join in test case name compilation.

Signed-off-by: John <[email protected]>
John há 3 anos atrás
pai
commit
5e96e408cb

+ 1 - 1
AutomatedTesting/Gem/PythonTests/automatedtesting_shared/base.py

@@ -97,7 +97,7 @@ class TestAutomationBase:
         self.logger.debug("Running automated test")
         testcase_module_filepath = self._get_testcase_module_filepath(testcase_module)
         test_case_prefix = "::".join(str.split(request.node.nodeid, "::")[:2])
-        compiled_test_case_name = ".".join([test_case_prefix, request.node.originalname])
+        compiled_test_case_name = "::".join([test_case_prefix, request.node.originalname])
         pycmd = ["--runpythontest", testcase_module_filepath, f"-pythontestcase={compiled_test_case_name}",
                  "--regset=/Amazon/Preferences/EnablePrefabSystem=true",
                  f"--regset-file={path.join(workspace.paths.engine_root(), 'Registry', 'prefab.test.setreg')}"]