From 27e5fd579f51873f0d9f2b2cdfa7e5abf24daf9c Mon Sep 17 00:00:00 2001 From: Benoit Orihuela Date: Sun, 17 Nov 2024 18:42:54 +0100 Subject: [PATCH] fix / temp --- doc/analysis/initial_setup.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/analysis/initial_setup.py b/doc/analysis/initial_setup.py index d249a4fd..e9cda25e 100644 --- a/doc/analysis/initial_setup.py +++ b/doc/analysis/initial_setup.py @@ -1,4 +1,5 @@ import os +from os.path import dirname import json @@ -41,6 +42,8 @@ class InitialSetup: 'Delete core context and reload it': InitialSetup.delete_core_context() } + self.folder_test_suites = dirname(dirname(dirname(__file__))) + self.total_files = -1 self.files_with_setup = -1 self.files_without_setup = -1 @@ -302,7 +305,7 @@ class InitialSetup: print() def generate_dictionaries(self): - folder = "/home/fla/Documents/workspace/bdd/ngsi-ld-test-suite/doc/files" + folder = f'{self.folder_test_suites}/doc/files' attribute = "setup" self.files_with_setup, self.files_without_setup = self.get_property_values(folder, attribute) -- GitLab