diff --git a/tests/internal/test_notebook_unique_name.py b/tests/internal/test_notebook_unique_name.py index 00934ff47..5c58620a5 100644 --- a/tests/internal/test_notebook_unique_name.py +++ b/tests/internal/test_notebook_unique_name.py @@ -12,7 +12,9 @@ def test_unique_notebook_name(): def test_unique_qmod_name(): all_qmods = ROOT.rglob("*.qmod") - assert not duplicate_base_names(all_qmods) + # exclude `functions/` + qmods = [path for path in all_qmods if "functions" not in path.parts] + assert not duplicate_base_names(qmods) def duplicate_base_names(files: Iterable[Path]) -> bool: