'Verify that templates for adding discussion and advanced components to
content libraries are not provided.'

def test_get_component_templates(self):

    lib = LibraryFactory.create()
    lib.advanced_modules = ['lti']
    lib.save()
    templates = [template['type'] for template in get_component_templates(lib, library=True)]
    self.assertIn('problem', templates)
    self.assertNotIn('discussion', templates)
    self.assertNotIn('advanced', templates)
