示例#1
0
class TestDScanParser(unittest.TestCase):
    def setUp(self):
        self.d = DScan()

    def test_parse(self):
        with open("tests/jita2.txt") as fh:
            data = fh.read()
        r = self.d.parseDscan(data)
        assert r
示例#2
0
 def setUp(self):
     self.d = DScan()