Pull file operations out to a files.py
This commit is contained in:
parent
96fb77f71f
commit
ed2375386b
6 changed files with 27 additions and 20 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue