def test_contains_ie__with_formex_ns(content, expected): fmx_node = etree.XML(content) parser = FormexParser(BaseBuilder(), formex_ns="http://opoce") assert parser.contains_ie(fmx_node) is expected
def test_contains_ie(content, expected): fmx_node = etree.XML(content) parser = FormexParser(BaseBuilder()) assert parser.contains_ie(fmx_node) is expected