mirror of
https://github.com/ae-utbm/sith.git
synced 2026-06-03 23:00:15 +00:00
Give the public group to newly created users
This commit is contained in:
+2
-2
@@ -213,9 +213,9 @@ class TestMembershipQuerySet(TestClub):
|
||||
memberships[1].club.members_group,
|
||||
memberships[1].club.board_group,
|
||||
}
|
||||
assert set(user.groups.all()) == club_groups
|
||||
assert set(user.groups.all()).issuperset(club_groups)
|
||||
user.memberships.all().delete()
|
||||
assert user.groups.all().count() == 0
|
||||
assert set(user.groups.all()).isdisjoint(club_groups)
|
||||
|
||||
|
||||
class TestClubModel(TestClub):
|
||||
|
||||
Reference in New Issue
Block a user