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

@patch.dict(settings.FEATURES, {'EMBARGO': True})
def setUp(self):

    super(EnrollmentEmbargoTest, self).setUp()
    self.course = CourseFactory.create()
    __ = CourseOverview.get_from_id(self.course.id)
    self.user = UserFactory.create(username=self.USERNAME, email=self.EMAIL, password=self.PASSWORD)
    self.client.login(username=self.USERNAME, password=self.PASSWORD)
    self.url = reverse('courseenrollments')
