Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (19 sloc) 650 Bytes
import unittest
from test_commons import PascalTestCase
from lxml import etree
class PascalLincodeTestCase(PascalTestCase):
stage = "lincode"
sem = etree.ElementTree(etree.Element('xml'))
def setUpClass(cls):
super(PascalLincodeTestCase, cls).setUpClass()
parser = etree.XMLParser(recover=True)
cls.syn = etree.parse('lincode.xml', parser)
cls.root = cls.syn.getroot()
class TestLincode(PascalLincodeTestCase):
source = "lincode.pascal"
def test_lincode(self):
# we just abuse this to run things easily
if __name__ == '__main__':