From abc4b37841a9ccf66f22c2e6078e43aaf7233a56 Mon Sep 17 00:00:00 2001 From: Rijnder Wever Date: Wed, 18 Dec 2024 14:54:31 +0100 Subject: [PATCH] tests: move lines around --- tests/test_mdto_voorbeelden.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_mdto_voorbeelden.py b/tests/test_mdto_voorbeelden.py index ec3ec74..7ce65cd 100644 --- a/tests/test_mdto_voorbeelden.py +++ b/tests/test_mdto_voorbeelden.py @@ -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.