'Scenario:
Course Date should have the format \'Started - Sep 23, 2015\'
if the course on student dashboard is running.
As a Student,
Given that I have enrolled to a course
And the course has started
And the course is in progress
When I visit dashboard page
Then the course date should have the following format "Started - %b %d, %Y" e.g. "Started - Sep 23, 2015"'

def test_running_course_date(self):

    course_start_date = datetime.datetime(1970, 1, 1)
    course_end_date = (self.now + datetime.timedelta(days=90))
    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 = 'Started    -    {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)
