def METHOD_NAME(self):
    expected = Element("{foo:bar}test", {"foo": "bar"})
    actual = parse_xml("""<h:test foo="bar" xmlns:h="foo:bar"/>""")
    assert actual.tag == expected.tag
    assert actual.attrib == expected.attrib