Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F63655215
test_extractAndConvert.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
Tue, May 21, 15:50
Size
591 B
Mime Type
text/x-python
Expires
Thu, May 23, 15:50 (2 d)
Engine
blob
Format
Raw Data
Handle
17801988
Attached To
rNIETZSCHEPYTHON nietzsche-python
test_extractAndConvert.py
View Options
import
unittest
from
os
import
sep
,
path
import
lxml.etree
as
ET
import
sys
sys
.
path
.
append
(
'svgscripts'
)
import
extractAndConvert
class
TestExtractAndConvert
(
unittest
.
TestCase
):
def
setUp
(
self
):
DATADIR
=
path
.
dirname
(
__file__
)
+
sep
+
'test_data'
self
.
test_file
=
DATADIR
+
sep
+
'test_ai.svg'
self
.
test_svg_file
=
DATADIR
+
sep
+
'test421.svg'
def
test_main
(
self
):
argv
=
[
'-T'
,
'-s'
,
self
.
test_svg_file
,
self
.
test_file
]
#self.assertEqual(extractAndConvert.main(argv), 0)
pass
if
__name__
==
"__main__"
:
unittest
.
main
()
Event Timeline
Log In to Comment