Page MenuHomec4science

test_crop_rotate_thumbs.py
No OneTemporary

File Metadata

Created
Sun, Sep 1, 11:09

test_crop_rotate_thumbs.py

import lxml.etree as ET
from os import sep, path, remove
from os.path import isdir, isfile, dirname, basename
import shutil
import sys
import tempfile
import unittest
import warnings
from crop_rotate_thumbs import ImageManipulator
sys.path.append('shared_util')
from myxmlwriter import copy_to_bak_dir
class TestCreateSVGFILES(unittest.TestCase):
def setUp(self):
ImageManipulator.UNITTESTING = True
DATADIR = path.dirname(__file__) + sep + 'test_data'
self.xml_file = DATADIR + sep + 'N_VII_1_page138.xml'
self.fix_transkription_positions = DATADIR + sep + 'Mp_XIV_page419a.xml'
if __name__ == "__main__":
unittest.main()

Event Timeline