Files
Phoenix/unittests/test_dcsvg.py
2016-12-05 16:19:11 -06:00

25 lines
483 B
Python

import unittest
from unittests import wtc
import wx
import sys
import os
fileName = 'svgtest.svg'
#---------------------------------------------------------------------------
class SvgDCTests(wtc.WidgetTestCase):
def test_SvgDC1(self):
dc = wx.SVGFileDC(fileName)
dc.DrawLine(0,0, 50,50)
del dc
os.remove(fileName)
#---------------------------------------------------------------------------
if __name__ == '__main__':
unittest.main()