summaryrefslogtreecommitdiffstats
path: root/openbb_platform/extensions/tests/utils/integration_tests_testers.py
diff options
context:
space:
mode:
Diffstat (limited to 'openbb_platform/extensions/tests/utils/integration_tests_testers.py')
-rw-r--r--openbb_platform/extensions/tests/utils/integration_tests_testers.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/openbb_platform/extensions/tests/utils/integration_tests_testers.py b/openbb_platform/extensions/tests/utils/integration_tests_testers.py
index 20e2e5f9116..13854844b85 100644
--- a/openbb_platform/extensions/tests/utils/integration_tests_testers.py
+++ b/openbb_platform/extensions/tests/utils/integration_tests_testers.py
@@ -203,7 +203,10 @@ def check_missing_params(
used_params = test_params[0].keys()
except KeyError:
used_params = test_params.keys()
- if expected_param not in used_params and expected_param != "return":
+ if expected_param not in used_params and expected_param not in (
+ "return",
+ "chart",
+ ):
missing_params.append(
f"Missing param {expected_param} in function {function}"
)
@@ -270,10 +273,6 @@ def check_integration_tests(
processing_command_params, function_params, function, True # type: ignore
)
- # if "chart" is in missing_items, remove it
- if "chart" in missing_items:
- missing_items.remove("chart")
-
all_missing_items.extend(missing_items)
return all_missing_items