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>')
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>"