'Test the handling of the basic component templates.'

def test_basic_components(self):

    self._verify_basic_component('discussion', 'Discussion')
    self._verify_basic_component('video', 'Video')
    self.assertGreater(self.get_templates_of_type('html'), 0)
    self.assertGreater(self.get_templates_of_type('problem'), 0)
    self.assertIsNone(self.get_templates_of_type('advanced'))
    XBlockConfiguration.objects.create(name='video', enabled=False)
    self.templates = get_component_templates(self.course)
    self.assertIsNone(self.get_templates_of_type('video'))
