From 81979a98a3e09eb46365d22052139775b665ac1e Mon Sep 17 00:00:00 2001 From: pyoor Date: Thu, 18 Nov 2021 12:49:49 -0500 Subject: [PATCH] fix: identify testcases recursively --- bugmon/evaluator_configs/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bugmon/evaluator_configs/base.py b/bugmon/evaluator_configs/base.py index e527561..36b94d1 100644 --- a/bugmon/evaluator_configs/base.py +++ b/bugmon/evaluator_configs/base.py @@ -60,7 +60,7 @@ def iter_tests(cls, working_dir: Path) -> Iterator[Path]: """ processed = [] for allowed_pattern in cls.ALLOWED: - for filename in working_dir.glob(f"{allowed_pattern}"): + for filename in working_dir.rglob(f"{allowed_pattern}"): if not filename.is_file(): continue