def setUp(self): from accounts.tests import create_users self.user, self.gov = create_users() self.n = dispatch.send( self.user, "F**k you! {{user.nickname}}", '/api/n/', "greet", )
def setUp(self): self.user, self.gov = create_users() self.client.force_authenticate(self.user) self.key = utils.upload_file('./files/test_files/testfile.txt')
def setUp(self): raise SkipTest self.user, self.gov = create_users() self.client.force_authenticate(self.user)
def setUp(self): self.user, self.gov = create_users()
def setUp(self): self.user, self.gov = create_users() self.topic = Topic.objects.create(title='title', content='content', asker=self.user)