diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-09-13 14:53:58 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-09-13 14:53:58 +0000 |
commit | 7b444fa0da7486e06c47cf2cd8b09b9cd7838d61 (patch) | |
tree | 96e7324b2a0971f230daa066d0a89127977d87a2 /lib/glider/tests.py | |
parent | c093a408c3b47bf50321d27e3bf91ebc0edd5bba (diff) |
More code for glider.
git-svn-id: file:///home/or/svnrepo/updater/trunk@16902 55e972cd-5a19-0410-ae62-a4d7a52db4cd
Diffstat (limited to 'lib/glider/tests.py')
-rw-r--r-- | lib/glider/tests.py | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/lib/glider/tests.py b/lib/glider/tests.py new file mode 100644 index 0000000..074e0be --- /dev/null +++ b/lib/glider/tests.py @@ -0,0 +1,28 @@ + +import unittest +import doctest + +import glider.keys +import glider.formats +import glider.tests + +class EncodingTest(unittest.TestCase): + def testQuotedString(self): + self.assertEquals(1,1) + +def suite(): + import sexp.tests + suite = unittest.TestSuite() + + suite.addTest(doctest.DocTestSuite(glider.formats)) + #suite.addTest(doctest.DocTestSuite(sexp.parse)) + + loader = unittest.TestLoader() + suite.addTest(loader.loadTestsFromModule(glider.tests)) + + return suite + + +if __name__ == '__main__': + + unittest.TextTestRunner(verbosity=1).run(suite()) |