'Create a user and log in.'

def setUp(self):

    super(SupportViewTestCase, self).setUp()
    self.user = UserFactory(username=self.USERNAME, email=self.EMAIL, password=self.PASSWORD)
    self.course = CourseFactory.create()
    success = self.client.login(username=self.USERNAME, password=self.PASSWORD)
    self.assertTrue(success, msg='Could    not    log    in')
