Skip to content

Commit

Permalink
Removed argument validation method
Browse files Browse the repository at this point in the history
  • Loading branch information
vatsalghelani-csa committed Apr 3, 2024
1 parent a769778 commit 62557b2
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions scripts/tests/py/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,17 +80,9 @@ def __resolve_env_vals__(self, metadata_dict):
if run_arg_val is None:
run_arg_val = True

if not self.__is_run_arg_valid__(run_arg_val):
raise Exception(str(run_arg_val)+" is not a valid value for "+str(run_arg))

metadata_dict[run_arg] = run_arg_val


# determines if the defined run arguments are valid
def __is_run_arg_valid__(self, run_arg_val):
return True


# reads the test script file and parses out the run arguments defined in the file
def __parse_script__(self, py_script_path, runs_metadata):
runs_def_ptrn=re.compile(r'^\s*#\s*test-runner-runs:\s*(.*)$')
Expand Down

0 comments on commit 62557b2

Please sign in to comment.