'Tests that the plain CMS_TEMPLATES works as usual'

def test_templates(self):

    original_files = [template[0] for template in settings.CMS_TEMPLATES]
    files = [template[0] for template in get_cms_setting('TEMPLATES')]
    if get_cms_setting('TEMPLATE_INHERITANCE'):
        original_files.append(constants.TEMPLATE_INHERITANCE_MAGIC)
    self.assertEqual(len(files), 6)
    self.assertEqual(set(files), set(original_files))
