mirror of
https://github.com/qurator-spk/eynollah.git
synced 2025-07-24 18:29:58 +02:00
pytest: add asserts for results, add binarization
This commit is contained in:
parent
b03116f4a6
commit
a3e1b3d4d5
2 changed files with 62 additions and 8 deletions
4
Makefile
4
Makefile
|
@ -105,8 +105,10 @@ ocrd-test: tests/resources/kant_aufklaerung_1784_0020.tif
|
|||
$(RM) -r $(TMPDIR)
|
||||
|
||||
# Run unit tests
|
||||
test: export EYNOLLAH_MODELS=$(CURDIR)/models_eynollah
|
||||
test: export SBBBIN_MODELS=$(CURDIR)/default-2021-03-09
|
||||
test:
|
||||
EYNOLLAH_MODELS=$(CURDIR)/models_eynollah $(PYTHON) -m pytest tests --durations=0 --continue-on-collection-errors $(PYTEST_ARGS)
|
||||
$(PYTHON) -m pytest tests --durations=0 --continue-on-collection-errors $(PYTEST_ARGS)
|
||||
|
||||
coverage:
|
||||
coverage erase
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue