Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
rien333 committed Dec 12, 2024
1 parent c04e826 commit 6149030
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_mdto_xsd.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ def test_informatieobject_xml_validity(mdto_xsd):
with open(mdto_xsd, 'rb') as f:
mdto_xsd_str = f.read()

ET.fromstring(b'<?xml version="1.0" encoding="UTF-8"?>\n'+mdto_xsd_str)

mdto_schema = ET.XMLSchema(ET.parse(mdto_xsd))
mdto_schema = ET.XMLSchema(ET.fromstring(b'<?xml version="1.0" encoding="UTF-8"?>\n'+mdto_xsd_str))
# create informatieobject
informatieobject = Informatieobject(
naam="Verlenen kapvergunning",
Expand Down

0 comments on commit 6149030

Please sign in to comment.