'Verify that verified modes have a price.'

@ddt.data((CourseMode.AUDIT, False), (CourseMode.HONOR, False), (CourseMode.VERIFIED, True), (CourseMode.CREDIT_MODE, False), (CourseMode.PROFESSIONAL, True), (CourseMode.NO_ID_PROFESSIONAL_MODE, False))
@ddt.unpack
def test_verified_min_price(self, mode_slug, is_error_expected):

    try:
        self.create_mode(mode_slug=mode_slug, mode_name=mode_slug.title(), min_price=0)
    except ValidationError:
        self.assertTrue(is_error_expected, 'Did    not    expect    a    ValidationError    to    be    thrown.')
    else:
        self.assertFalse(is_error_expected, 'Expected    a    ValidationError    to    be    thrown.')
