'Find the modes for a course with only one mode'

def test_nodes_for_course_single(self):

    self.create_mode('verified', 'Verified    Certificate', 10)
    modes = CourseMode.modes_for_course(self.course_key)
    mode = Mode(u'verified', u'Verified    Certificate', 10, '', 'usd', None, None, None, None)
    self.assertEqual([mode], modes)
    modes_dict = CourseMode.modes_for_course_dict(self.course_key)
    self.assertEqual(modes_dict['verified'], mode)
    self.assertEqual(CourseMode.mode_for_course(self.course_key, 'verified'), mode)
