diff --git a/tools/run_pysdk_remote_infinity_test.py b/tools/run_pysdk_remote_infinity_test.py index e9048b7910..2563ea0241 100644 --- a/tools/run_pysdk_remote_infinity_test.py +++ b/tools/run_pysdk_remote_infinity_test.py @@ -8,8 +8,7 @@ python_executable = sys.executable -def python_sdk_test(python_test_dir: str, pytest_mark: str, single_file_name=""): - # The single file name must be start with '/' +def python_sdk_test(python_test_dir: str, pytest_mark: str): print("python test path is {}".format(python_test_dir)) # run test print(f"start pysdk test with {pytest_mark}") @@ -23,7 +22,7 @@ def python_sdk_test(python_test_dir: str, pytest_mark: str, single_file_name="") "-x", "-m", pytest_mark, - f"{python_test_dir}/test_pysdk" + single_file_name, + f"{python_test_dir}/test_pysdk", ] quoted_args = ['"' + arg + '"' if " " in arg else arg for arg in args] print(" ".join(quoted_args))