mirror of
https://github.com/qurator-spk/eynollah.git
synced 2025-06-08 19:59:56 +02:00
pytest: use subtests for various layout options, add coverage
This commit is contained in:
parent
91a340f619
commit
b03116f4a6
8 changed files with 48 additions and 82 deletions
|
@ -1,4 +1,3 @@
|
|||
from pytest import main
|
||||
from eynollah.utils.xml import create_page_xml
|
||||
from ocrd_models.ocrd_page import to_xml
|
||||
|
||||
|
@ -9,6 +8,3 @@ def test_create_xml():
|
|||
xmlstr = to_xml(pcgts)
|
||||
assert 'xmlns:pc="%s"' % PAGE_2019 in xmlstr
|
||||
assert 'Metadata' in xmlstr
|
||||
|
||||
if __name__ == '__main__':
|
||||
main([__file__])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue