From: Brandon Tomás Date: Wed, 9 Oct 2019 23:14:03 +0000 (-0400) Subject: changed test_join functions to unique names X-Git-Tag: 2.11.0~48^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c76f035e85c4239f0a24e8aa36755f85363551aa;p=thirdparty%2Fjinja.git changed test_join functions to unique names --- diff --git a/tests/test_asyncfilters.py b/tests/test_asyncfilters.py index 55922ad6..1e09b127 100644 --- a/tests/test_asyncfilters.py +++ b/tests/test_asyncfilters.py @@ -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: ["", Markup("foo")]) -def test_join(string_items): +def test_join_string_list(string_items): env2 = Environment(autoescape=True, enable_async=True) tmpl = env2.from_string( '{{ ["", "foo"|safe]|join }}')