Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/d/j/django-cofingo-0.2.2/django_cofingo/tests/test_environment.py   django-cofingo(Download)
                raise ObjectDoesNotExist()
 
        tmpl = env.from_string('{{ foo.item }}', {'foo': Foo()})
        self.assertEqual(tmpl.render(), '')
 
                raise ObjectDoesNotExist()
 
        tmpl = env.from_string("{{ foo['item'] }}", {'foo': Foo()})
        self.assertEqual(tmpl.render(), '')