Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F120470629
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
Fri, Jul 4, 15:12
Size
673 B
Mime Type
text/x-python
Expires
Sun, Jul 6, 15:12 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
27193545
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