Skip to content

Commit

Permalink
tests: move lines around
Browse files Browse the repository at this point in the history
  • Loading branch information
rien333 committed Dec 18, 2024
1 parent 5034646 commit abc4b37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_mdto_voorbeelden.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,12 @@ def test_serialization_chain_bestand(voorbeeld_bestand_xml):

def test_file_saving(voorbeeld_archiefstuk_xml, tmp_path_factory):
"""Test if `save()` produces byte-for-byte equivalent XML from archiefstuk example"""
informatieobject = mdto.from_xml(voorbeeld_archiefstuk_xml)

# location to write to
tmpdir = tmp_path_factory.mktemp("Output")
outfile = tmpdir / "test archiefstuk.xml"

informatieobject = mdto.from_xml(voorbeeld_archiefstuk_xml)
informatieobject.save(outfile)

# MDTO uses CRLF (DOS) line endings. Convert them to UNIX line endings.
Expand Down

0 comments on commit abc4b37

Please sign in to comment.