'Verify logging at start and end of the command.'

@mock.patch((COMMAND_MODULE + '.log.info'))
def test_starting_and_ending_logs(self, mock_log_info, mock_catalog_course_runs):

    mock_catalog_course_runs.return_value = [self.catalog_course_run, CourseRunFactory(), CourseRunFactory()]
    call_command('sync_course_runs')
    mock_log_info.assert_any_call('[sync_course_runs]    Fetching    course    runs    from    catalog    service.')
    mock_log_info.assert_any_call('[sync_course_runs]    course    runs    retrieved:    %d,    course    runs    found    in    course    overview:    %d,    course    runs    not    found    in    course    overview:    %d,    course    overviews    metadata    updated:    %d,', 3, 1, 2, 1)
