From 87baafd0513d865720df4db100b18561b2629fff Mon Sep 17 00:00:00 2001 From: T0jan Date: Mon, 17 Apr 2023 11:30:12 +0200 Subject: [PATCH] fix integration of save_inventree_user_settings in run_tests --- kintree/config/config_interface.py | 3 ++- run_tests.py | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/kintree/config/config_interface.py b/kintree/config/config_interface.py index ce422090..13243fe3 100644 --- a/kintree/config/config_interface.py +++ b/kintree/config/config_interface.py @@ -428,7 +428,8 @@ def load_category_parameters(categories: list, supplier_config_path: str) -> dic try: category_parameters = category_file[category] break - except: pass + except: + pass if not category_parameters: return None diff --git a/run_tests.py b/run_tests.py index 60016d0e..3ec34a31 100644 --- a/run_tests.py +++ b/run_tests.py @@ -421,6 +421,7 @@ def check_result(status: str, new_part: bool) -> bool: server='http://127.0.0.1:8000', username='admin', password='admin', + proxies={}, user_config_path=settings.INVENTREE_CONFIG): method_success = False