diff options
| author | Hasan Ramezani <hasan.r67@gmail.com> | 2018-07-28 01:45:00 +0430 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2018-07-27 17:15:00 -0400 |
| commit | cebbcaa1baa6eb7f9ec3e223abdc496a983ea482 (patch) | |
| tree | 88cac2a77cc61830d74ff6d9a8ebeb068cb01140 /tests/template_tests/syntax_tests | |
| parent | e7a56eb4f0cc1cef6c3e9e289c0f13071a534370 (diff) | |
Moved yesno filter test to its file.
Diffstat (limited to 'tests/template_tests/syntax_tests')
| -rw-r--r-- | tests/template_tests/syntax_tests/test_filter_syntax.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/template_tests/syntax_tests/test_filter_syntax.py b/tests/template_tests/syntax_tests/test_filter_syntax.py index 176475c04c..f6f2857df8 100644 --- a/tests/template_tests/syntax_tests/test_filter_syntax.py +++ b/tests/template_tests/syntax_tests/test_filter_syntax.py @@ -109,14 +109,6 @@ class FilterSyntaxTests(SimpleTestCase): output = self.engine.render_to_string('filter-syntax11', {"var": None, "var2": "happy"}) self.assertEqual(output, 'happy') - @setup({'filter-syntax12': r'{{ var|yesno:"yup,nup,mup" }} {{ var|yesno }}'}) - def test_filter_syntax12(self): - """ - Default argument testing - """ - output = self.engine.render_to_string('filter-syntax12', {"var": True}) - self.assertEqual(output, 'yup yes') - @setup({'filter-syntax13': r'1{{ var.method3 }}2'}) def test_filter_syntax13(self): """ |
