kfet -- Fix auth tests
This commit is contained in:
parent
fcf4a25745
commit
84bbe78e50
1 changed files with 1 additions and 4 deletions
|
@ -89,10 +89,7 @@ class GroupFormTests(TestCase):
|
|||
|
||||
selected = [self.kf_perm1, self.kf_perm2]
|
||||
|
||||
# add user to some K-Fêt groups through UserGroupForm
|
||||
data = {"groups": [group.pk for group in self.kfet_groups]}
|
||||
form = UserGroupForm(data, instance=self.user)
|
||||
|
||||
data = {"name": "A Group", "permissions": [perm.pk for perm in selected]}
|
||||
form = GroupForm(data, instance=self.kf_group)
|
||||
form.save()
|
||||
|
||||
|
|
Loading…
Reference in a new issue