'Verify that a closed course run with no explicit enrollment start date
doesn\'t cause an error. Regression test for ECOM-4973.'

def test_no_enrollment_start_date(self):

    self.course.enrollment_end = (datetime.datetime.now(utc) - datetime.timedelta(days=1))
    self.course = self.update_course(self.course, self.user.id)
    data = ProgramDataExtender(self.program, self.user).extend()
    self._assert_supplemented(data, is_enrollment_open=False)
