'Verifies that having an unrecognized tab type does not cause
the tabs to be undisplayable.'

def test_invalid_tab_type(self):

    tab_list = xmodule_tabs.CourseTabList()
    self.assertEquals(len(tab_list.from_json([{'type': CoursewareTab.type}, {'type': CourseInfoTab.type, 'name': 'fake_name'}, {'type': 'no_such_type'}])), 2)
