Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into layouts
Browse files Browse the repository at this point in the history
  • Loading branch information
rue-a committed Apr 26, 2024
2 parents 19689ff + 9d14212 commit c716c6c
Show file tree
Hide file tree
Showing 5 changed files with 8,608 additions and 8,601 deletions.
5 changes: 4 additions & 1 deletion tests/test_workspace.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from pathlib import Path
from os import chdir
from difflib import unified_diff
from unittest import TestCase, skip, main
from tempfile import NamedTemporaryFile
from ocrd_models.ocrd_page import parseEtree
Expand Down Expand Up @@ -64,4 +65,6 @@ def test_api(self):
},
)
del tar_img_path_elem.attrib["imageFilename"]
assert ET.tostring(target_tree) == ET.tostring(result_tree)
target_xml = ET.tostring(target_tree, pretty_print=True, encoding='UTF-8').decode('utf-8')
result_xml = ET.tostring(result_tree, pretty_print=True, encoding='UTF-8').decode('utf-8')
assert target_xml == result_xml
Loading

0 comments on commit c716c6c

Please sign in to comment.