Skip to content

Commit 9e02172

Browse files
Removed argument validation method
1 parent a7e8072 commit 9e02172

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

scripts/tests/py/metadata.py

-8
Original file line numberDiff line numberDiff line change
@@ -80,17 +80,9 @@ def __resolve_env_vals__(self, metadata_dict):
8080
if run_arg_val is None:
8181
run_arg_val = True
8282

83-
if not self.__is_run_arg_valid__(run_arg_val):
84-
raise Exception(str(run_arg_val)+" is not a valid value for "+str(run_arg))
85-
8683
metadata_dict[run_arg] = run_arg_val
8784

8885

89-
# determines if the defined run arguments are valid
90-
def __is_run_arg_valid__(self, run_arg_val):
91-
return True
92-
93-
9486
# reads the test script file and parses out the run arguments defined in the file
9587
def __parse_script__(self, py_script_path, runs_metadata):
9688
runs_def_ptrn=re.compile(r'^\s*#\s*test-runner-runs:\s*(.*)$')

0 commit comments

Comments
 (0)