Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_create_xml_property():
"""Check if create_xml_property creates the expected XML tag."""
generated = ElementTree.tostring(
create_xml_property('name', 'value'),
encoding='unicode'
)
assert generated == ''