Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F61963360
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
Fri, May 10, 02:08
Size
591 B
Mime Type
text/x-python
Expires
Sun, May 12, 02:08 (2 d)
Engine
blob
Format
Raw Data
Handle
17355967
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