'Create a course and user, then log in.'

def setUp(self):

    super(EnrollmentCrossDomainTest, self).setUp()
    self.course = CourseFactory.create()
    self.user = UserFactory.create(username=self.USERNAME, email=self.EMAIL, password=self.PASSWORD)
    self.client = Client(enforce_csrf_checks=True)
    self.client.login(username=self.USERNAME, password=self.PASSWORD)
