Пример #1
0
 def setUp(self):
     self.user = set_up_user()
Пример #2
0
 def setUp(self):
     self.user = set_up_user()
     self.user.profile.is_contrib = True
     self.user.profile.save()
     self.client.login(email=self.user.email, password='******')
Пример #3
0
 def setUp(self):
     self.user = set_up_user()
Пример #4
0
 def setUp(self):
     self.user = set_up_user()
     self.user.profile.is_contrib = True
     self.user.profile.save()
     self.client.login(email=self.user.email, password='******')
Пример #5
0
 def setUp(self):
     get_concept_list()
     self.user = set_up_user()
Пример #6
0
 def setUp(self):
     get_concept_list()
     self.user = set_up_user()
     self.user.is_staff = True
     self.user.save()
     self.client.login(email=self.user.email, password='******')