You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tools/tests/systemtests/Systemtest.py
+30-17Lines changed: 30 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -146,30 +146,26 @@ def __post_init__(self):
146
146
147
147
def__init_args_to_use(self):
148
148
"""
149
-
Checks if all required parameters for the realisation of the cases are supplied in the cmdline arguments.
150
-
If a parameter is missing and it's required, an exception is raised.
151
-
Otherwise, the default value is used if available.
149
+
Forwards the command-line arguments to the params_to_use dictionary, substituting any missing arguments with their defaults.
152
150
153
-
In the end it populates the args_to_use dict
154
-
155
-
Raises:
156
-
Exception: If a required parameter is missing.
151
+
Previously, this function was also checking if all required parameters were provided, and was raising exceptions for parameters not provided and not having a default value. This check made adding optional parameters with empty defaults (e.g., the TUTORIALS_PR) complicated, and it was removed.
0 commit comments