'Loading an existent template from an egg not included in INSTALLED_APPS should fail'

def test_not_installed(self):

    settings.INSTALLED_APPS = []
    egg_loader = EggLoader()
    self.assertRaises(TemplateDoesNotExist, egg_loader.load_template_source, 'y.html')
