From c76f035e85c4239f0a24e8aa36755f85363551aa Mon Sep 17 00:00:00 2001 From: =?utf8?q?Brandon=20Tom=C3=A1s?= Date: Wed, 9 Oct 2019 19:14:03 -0400 Subject: [PATCH] changed test_join functions to unique names --- tests/test_asyncfilters.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }}') -- 2.47.2