Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F61329148
test_get_text_field.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, May 5, 23:56
Size
690 B
Mime Type
text/x-python
Expires
Tue, May 7, 23:56 (2 d)
Engine
blob
Format
Raw Data
Handle
17496284
Attached To
rNIETZSCHEPYTHON nietzsche-python
test_get_text_field.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
import
get_text_field
class
TestGETIMAGEINFO
(
unittest
.
TestCase
):
def
setUp
(
self
):
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'
def
test_main
(
self
):
get_text_field
.
main
([
'/home/knister0/ownCloud/nietzscheDE/Bearbeitung_Faksimile/Mp_XVI/Mp-XVI-4,13.jpg'
,
'1260.3199'
,
'1339.36'
])
if
__name__
==
"__main__"
:
unittest
.
main
()
Event Timeline
Log In to Comment