]> git.ipfire.org Git - thirdparty/jinja.git/commitdiff
changed test_join functions to unique names 1073/head
authorBrandon Tomás <brtomas0@gmail.com>
Wed, 9 Oct 2019 23:14:03 +0000 (19:14 -0400)
committerBrandon Tomás <brtomas0@gmail.com>
Wed, 9 Oct 2019 23:14:03 +0000 (19:14 -0400)
tests/test_asyncfilters.py

index 55922ad6201b90e7515571c1f370f0c489fa7913..1e09b12768596f61a69f5ab120b0ee1ccfb44eba 100644 (file)
@@ -91,14 +91,14 @@ def test_groupby_multidot(env_async, articles):
 
 
 @mark_dualiter('int_items', lambda: [1, 2, 3])
-def test_join(env_async, int_items):
+def test_join_env_int(env_async, int_items):
     tmpl = env_async.from_string('{{ items()|join("|") }}')
     out = tmpl.render(items=int_items)
     assert out == '1|2|3'
 
 
 @mark_dualiter('string_items', lambda: ["<foo>", Markup("<span>foo</span>")])
-def test_join(string_items):
+def test_join_string_list(string_items):
     env2 = Environment(autoescape=True, enable_async=True)
     tmpl = env2.from_string(
         '{{ ["<foo>", "<span>foo</span>"|safe]|join }}')