Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F80573453
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
Sun, Sep 1, 11:18
Size
591 B
Mime Type
text/x-python
Expires
Tue, Sep 3, 11:18 (1 d, 21 h)
Engine
blob
Format
Raw Data
Handle
20399721
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