'Asserts that the passed-in course id matches the specified fields'

def assertCourseIdFieldsMatch(self, course_id, org, course, run):

    self.assertEqual(course_id.org, org)
    self.assertEqual(course_id.course, course)
    self.assertEqual(course_id.run, run)
