Exemple #1
0
 def test_extends_node_repr(self):
     extends_node = ExtendsNode(
         nodelist=NodeList([]),
         parent_name=Node(),
         template_dirs=[],
     )
     self.assertEqual(repr(extends_node), "<ExtendsNode: extends None>")
Exemple #2
0
 def func(parser, token):
     return Node()