'Test task with no problems'

@mock.patch('openedx.core.djangoapps.ccxcon.api.course_info_to_ccxcon')
def test_update_ccxcon_task_ok(self, mock_citc):

    mock_response = mock.Mock()
    mock_citc.return_value = mock_response
    course_id = u'course-v1:OrgFoo+CN199+CR-FALL01'
    tasks.update_ccxcon.delay(course_id)
    mock_citc.assert_called_once_with(CourseKey.from_string(course_id))
