Example #1
0
def test_combined_inputs():
    foo = '<a><b>foo</b></a>'
    bar = '<a><b>bar</b></a>'

    result = combined_inputs([foo, bar])
    result = etree.tostring(result)
    eq_(result, b'<a><b>foo</b><b>bar</b></a>')
Example #2
0
def test_combined_inputs():
    foo = '<a><b>foo</b></a>'
    bar = '<a><b>bar</b></a>'

    result = combined_inputs([foo, bar])
    result = etree.tostring(result)
    eq_(result, b'<a><b>foo</b><b>bar</b></a>')
Example #3
0
def test_combined_inputs():
    foo = "<a><b>foo</b></a>"
    bar = "<a><b>bar</b></a>"

    result = combined_inputs([foo, bar])
    result = etree.tostring(result)
    assert result == b"<a><b>foo</b><b>bar</b></a>"