Skip to content
Myr

changed test_join functions to unique names

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Brandon Tomás · committed by Brandon Tomás · parent 6b9eb6d · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • tests:+2 added−2 removed

1 file+2 added−2 removed

modified:tests/test_asyncfilters.py+2 added-2 removed
89 unmodified lines
90 ]919293@mark_dualiter('int_items', lambda: [1, 2, 3])94def test_join(env_async, int_items):94def test_join_env_int(env_async, int_items):95 tmpl = env_async.from_string('{{ items()|join("|") }}')96 out = tmpl.render(items=int_items)97 assert out == '1|2|3'9899100@mark_dualiter('string_items', lambda: ["<foo>", Markup("<span>foo</span>")])101def test_join(string_items):101def test_join_string_list(string_items):102 env2 = Environment(autoescape=True, enable_async=True)103 tmpl = env2.from_string(104 '{{ ["<foo>", "<span>foo</span>"|safe]|join }}')105 assert tmpl.render(items=string_items) == '&lt;foo&gt;<span>foo</span>'
127 unmodified lines