Page MenuHomec4science

test_extractAndConvert.py
No OneTemporary

File Metadata

Created
Wed, May 8, 21:09

test_extractAndConvert.py

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