Revert "_is_jinja_tag and _is_block_tag were returning the result of RE.findall instead of a boolean."
This reverts commit 68bf4678bf.
This commit is contained in:
parent
68bf4678bf
commit
65a46efbbe
1 changed files with 0 additions and 4 deletions
|
|
@ -63,10 +63,6 @@ class RenderTestCase(TestCase):
|
||||||
for test, expect in test_samples.items():
|
for test, expect in test_samples.items():
|
||||||
assert self.engine._encode_escape_chars(test) == expect
|
assert self.engine._encode_escape_chars(test) == expect
|
||||||
|
|
||||||
def _test_is_jinja_tag(self):
|
|
||||||
assert self._is_jinja_tag('{{ foo }}')=True
|
|
||||||
assert self._is_jinja_tag('{ foo }')==False
|
|
||||||
|
|
||||||
def test_create_test_node(self):
|
def test_create_test_node(self):
|
||||||
assert self.engine.create_text_node(self.document, 'text').toxml() == 'text'
|
assert self.engine.create_text_node(self.document, 'text').toxml() == 'text'
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue