Pull file operations out to a files.py

This commit is contained in:
Marc Di Luzio 2024-08-10 10:58:31 +01:00
parent 96fb77f71f
commit ed2375386b
6 changed files with 27 additions and 20 deletions

View file

@ -14,7 +14,7 @@ import matching
])
def test_matchees_to_groups(matchees, per_group):
"""Test simple group matching works"""
groups = matching.objects_to_groups(matchees, per_group)
groups = matching.members_to_groups(matchees, per_group)
for group in groups:
# Ensure the group contains the right number of members
assert len(group) >= per_group