Commit a2b627bb by Guba Sándor

add user.profile to tests

parent fbf545cf
......@@ -1881,9 +1881,11 @@ class SshKeyTest(LoginMixin, TestCase):
def setUp(self):
self.u1 = User.objects.create(username='user1')
self.u1.profile = Profile()
self.u2 = User.objects.create(username='user2')
self.u2.profile = Profile()
self.k1 = UserKey(key='ssh-rsa AAAAB3NzaC1yc2EC asd', user=self.u1)
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 sign in to comment