diff options
| author | Claude Paroz <claude@2xlibre.net> | 2017-08-22 14:45:08 +0200 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-08-22 08:45:08 -0400 |
| commit | ed77bea58274e11e5a9e4c8b9650f50deb8a2b26 (patch) | |
| tree | 52b9ef33e778da64515646c352baf14324cd89b8 /tests | |
| parent | 7bba82453ce142e170325c28e684aa7ee719a0b3 (diff) | |
Refs #28502 -- Complemented stringformat tuple handling/test.
An additional test and a code change were suggested in a late review.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/template_tests/filter_tests/test_stringformat.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/template_tests/filter_tests/test_stringformat.py b/tests/template_tests/filter_tests/test_stringformat.py index 8efa5e0599..62ee19aef8 100644 --- a/tests/template_tests/filter_tests/test_stringformat.py +++ b/tests/template_tests/filter_tests/test_stringformat.py @@ -39,3 +39,4 @@ class FunctionTests(SimpleTestCase): self.assertEqual(stringformat(1, 'z'), '') self.assertEqual(stringformat(object(), 'd'), '') self.assertEqual(stringformat(None, 'd'), '') + self.assertEqual(stringformat((1, 2, 3), 'd'), '') |
