'Scenario:
Course Date should have the format \'Starts - Sep 23, 2015\'
if the course on student dashboard starts in future.
As a Student,
Given that I have enrolled to a course
And the course starts in future
And the course does not start within 5 days
When I visit dashboard page
Then the course date should have the following format "Starts - %b %d, %Y" e.g. "Starts - Sep 23, 2015"'

def test_future_course_date(self):

    course_start_date = (self.now + datetime.timedelta(days=30))
    course_end_date = (self.now + datetime.timedelta(days=365))
    self.course_fixture.add_course_details({'start_date': course_start_date, 'end_date': course_end_date})
    self.course_fixture.configure_course()
    start_date = DEFAULT_SHORT_DATE_FORMAT.format(dt=course_start_date)
    expected_course_date = 'Starts    -    {start_date}'.format(start_date=start_date)
    self.dashboard_page.visit()
    course_date = self.dashboard_page.get_course_date()
    self.assertEqual(course_date, expected_course_date)
