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