Skip to content

Commit

Permalink
Allow functions qmods to have duplicates
Browse files Browse the repository at this point in the history
  • Loading branch information
classiqdor authored and shahakL committed Dec 30, 2024
1 parent 5436727 commit 9777e72
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/internal/test_notebook_unique_name.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9777e72

Please sign in to comment.