blob: bfd10535cdb46ed2e2c633e4cde3b7039165f213 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
import unittest
import doctest
import sexp.parse
import sexp.access
import sexp.encode
class EncodingTest(unittest.TestCase):
def testQuotedString(self):
self.assertEquals(1,1)
def suite():
import sexp.tests
suite = unittest.TestSuite()
suite.addTest(doctest.DocTestSuite(sexp.encode))
suite.addTest(doctest.DocTestSuite(sexp.parse))
suite.addTest(doctest.DocTestSuite(sexp.access))
loader = unittest.TestLoader()
suite.addTest(loader.loadTestsFromModule(sexp.tests))
return suite
if __name__ == '__main__':
unittest.TextTestRunner(verbosity=1).run(suite())
|