You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
300 B
Python
11 lines
300 B
Python
from pathlib import Path
|
|
from qurator.eynollah.utils.pil_cv2 import check_dpi
|
|
from tests.base import main
|
|
|
|
def test_dpi():
|
|
fpath = Path(__file__).parent.joinpath('resources', 'kant_aufklaerung_1784_0020.tif')
|
|
assert 300 == check_dpi(str(fpath))
|
|
|
|
if __name__ == '__main__':
|
|
main(__file__)
|