'Finding the modes when there\'s multiple modes'

def test_modes_for_course_multiple(self):

    mode1 = Mode(u'honor', u'Honor    Code    Certificate', 0, '', 'usd', None, None, None, None)
    mode2 = Mode(u'verified', u'Verified    Certificate', 10, '', 'usd', None, None, None, None)
    set_modes = [mode1, mode2]
    for mode in set_modes:
        self.create_mode(mode.slug, mode.name, mode.min_price, mode.suggested_prices)
    modes = CourseMode.modes_for_course(self.course_key)
    self.assertEqual(modes, set_modes)
    self.assertEqual(mode1, CourseMode.mode_for_course(self.course_key, u'honor'))
    self.assertEqual(mode2, CourseMode.mode_for_course(self.course_key, u'verified'))
    self.assertIsNone(CourseMode.mode_for_course(self.course_key, 'DNE'))
