'A template can be loaded from an egg'

def test_existing(self):

    settings.INSTALLED_APPS = ['egg_1']
    egg_loader = EggLoader()
    (contents, template_name) = egg_loader.load_template_source('y.html')
    self.assertEqual(contents, 'y')
    self.assertEqual(template_name, 'egg:egg_1:templates/y.html')
