Commit a9bfb3a1 authored by Michal Čihař's avatar Michal Čihař

Coding style fixes

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 5f0eb5e1
......@@ -36,8 +36,13 @@ from weblate.trans.tests.test_models import ModelTestCase
class PermissionsTest(TestCase):
def setUp(self):
self.user = User.objects.create_user('user', 'test@example.com', 'x')
self.owner = User.objects.create_user('owner', 'owner@example.com', 'x')
self.user = User.objects.create_user(
'user', 'test@example.com', 'x'
)
self.owner = User.objects.create_user(
'owner', 'owner@example.com', 'x'
)
self.owner.groups.add(Group.objects.get(name='Owners'))
self.project = Project.objects.create(slug='test')
self.project.owners.add(self.owner)
......
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