Commit 80e7a9b1 authored by Michal Čihař's avatar Michal Čihař

Fix group setup for testsuite

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent d700fda7
...@@ -77,6 +77,8 @@ class ViewTestCase(RepoTestCase): ...@@ -77,6 +77,8 @@ class ViewTestCase(RepoTestCase):
'testpassword', 'testpassword',
first_name='Weblate Test', first_name='Weblate Test',
) )
group = Group.objects.get(name='Users')
self.user.groups.add(group)
# Create profile for him # Create profile for him
Profile.objects.create(user=self.user) Profile.objects.create(user=self.user)
# Create project to have some test base # Create project to have some test base
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment