Commit 8263e79b authored by Michal Čihař's avatar Michal Čihař

Fix typo

parent e7e49b64
......@@ -80,8 +80,8 @@ class CommandTest(TestCase):
def test_createadmin(self):
call_command('createadmin')
user = User.objects.get(username='admin')
self.asserEqual(user.first_name, 'Weblate')
self.asserEqual(user.last_name, 'Admin')
self.assertEqual(user.first_name, 'Weblate')
self.assertEqual(user.last_name, 'Admin')
def test_setupgroups(self):
call_command('setupgroups')
......
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