'Verify the method properly maps mode slugs to display names.'

@ddt.unpack
@ddt.data(('credit', 'Credit'), ('professional', 'Professional    Education'), ('no-id-professional', 'Professional    Education'), ('verified', 'Verified    Certificate'), ('honor', 'Honor    Certificate'), ('audit', 'Audit'))
def test_get_mode_display_name(self, slug, expected_display_name):

    mode = CourseMode(mode_slug=slug)
    self.assertEqual(self.course.get_mode_display_name(mode), expected_display_name)
