diff options
author | Federico Caselli <cfederico87@gmail.com> | 2021-10-25 15:45:42 -0400 |
---|---|---|
committer | sqla-tester <sqla-tester@sqlalchemy.org> | 2021-10-25 15:45:42 -0400 |
commit | 6055be01a1357ec3c13937c3aab28360b5e80ea3 (patch) | |
tree | b846c03c14e14c597fcb7c57f51698c6868a9c25 /test/test_template.py | |
parent | 03c65d63d1df5835695a96ab7909e7086ba3dcf3 (diff) | |
download | mako-6055be01a1357ec3c13937c3aab28360b5e80ea3.tar.gz |
update black and format
Closes: #342
Pull-request: https://github.com/sqlalchemy/mako/pull/342
Pull-request-sha: 21a068103481410cf4856fb07c19146dc684d460
Change-Id: I9027433ec23ee19c9d9a47015e0327acf409e2d8
Diffstat (limited to 'test/test_template.py')
-rw-r--r-- | test/test_template.py | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/test/test_template.py b/test/test_template.py index 715bc4c..f2ca6b4 100644 --- a/test/test_template.py +++ b/test/test_template.py @@ -332,7 +332,7 @@ quand une drôle de petite voix m’a réveillé. Elle disait: def test_input_encoding(self): """test the 'input_encoding' flag on Template, and that unicode - objects arent double-decoded""" + objects arent double-decoded""" self._do_memory_test( ("hello ${f('śląsk')}"), @@ -927,15 +927,18 @@ class ControlTest(TemplateTest): %endfor """ ) - assert result_lines( - t.render( - y=[ - {"test": "one"}, - {"foo": "bar"}, - {"foo": "bar", "test": "two"}, - ] + assert ( + result_lines( + t.render( + y=[ + {"test": "one"}, + {"foo": "bar"}, + {"foo": "bar", "test": "two"}, + ] + ) ) - ) == ["yes x has test", "no x does not have test", "yes x has test"] + == ["yes x has test", "no x does not have test", "yes x has test"] + ) def test_blank_control_1(self): self._do_memory_test( |