Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F80572586
test_crop_rotate_thumbs.py
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Sep 1, 11:09
Size
673 B
Mime Type
text/x-python
Expires
Tue, Sep 3, 11:09 (2 d)
Engine
blob
Format
Raw Data
Handle
20399551
Attached To
rNIETZSCHEPYTHON nietzsche-python
test_crop_rotate_thumbs.py
View Options
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
Log In to Comment