From 6c566154480d01811f4f56871b9a9ddc131756f0 Mon Sep 17 00:00:00 2001 From: erikzaadi Date: Tue, 22 Oct 2024 14:15:30 +0300 Subject: [PATCH] Fix test fixture logic --- port_ocean/tests/helpers/ocean_app.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/port_ocean/tests/helpers/ocean_app.py b/port_ocean/tests/helpers/ocean_app.py index 361318986..1ef4efe73 100644 --- a/port_ocean/tests/helpers/ocean_app.py +++ b/port_ocean/tests/helpers/ocean_app.py @@ -46,6 +46,8 @@ def get_integation_resource_configs(integration_path: str) -> List[ResourceConfi config_file_path = f"{integration_path}/.port/resources/port-app-config." if not Path(f"{config_file_path}yml").exists(): config_file_path = f"{config_file_path}yaml" + else: + config_file_path = f"{config_file_path}yml" with open(config_file_path) as port_app_config_file: resource_configs = safe_load(port_app_config_file)