From 8dc53eeb31634952a37872c873dfd4166f5fc3db Mon Sep 17 00:00:00 2001 From: Marius Smytzek Date: Sun, 28 Jul 2024 11:30:19 +0200 Subject: [PATCH] updated base handling --- src/sflkit/runners/run.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sflkit/runners/run.py b/src/sflkit/runners/run.py index 038e4d4..bcf55bf 100644 --- a/src/sflkit/runners/run.py +++ b/src/sflkit/runners/run.py @@ -341,11 +341,11 @@ def get_tests( str_files = [str(files)] else: str_files = [str(f) for f in files] - common_base = self._common_base(root_dir, [str(files)]) + common_base = self._common_base(root_dir, str_files) if common_base: file_base = common_base elif base: - common_base = self._common_base(base, [str(files)]) + common_base = self._common_base(base, str_files) if common_base: file_base = common_base c += str_files