]> git.sommitrealweird.co.uk Git - rss2maildir.git/blob - tests/unittests/NestedListTests.py
1e4ccf54ee98a06e3e90216e57a8a47fe0542f57
[rss2maildir.git] / tests / unittests / NestedListTests.py
1 #!/usr/bin/python
2
3 import unittest
4 import sys
5 import os
6
7 import ParsingTests
8
9 class NestedListTests(ParsingTests.ParsingTest):
10     def testWellFormedNestedLists(self):
11         return self.runParsingTest("nestedlists-wellformed")
12
13     def testWellFormedNestedOrderedLists(self):
14         return self.runParsingTest("nestedorderedlists-wellformed")
15
16 def suite():
17     suite = unittest.TestSuite()
18     suite.addTest(NestedListTests("testWellFormedNestedLists"))
19     suite.addTest(NestedListTests("testWellFormedNestedOrderedLists"))
20     return suite
21
22 if __name__ == "__main__":
23     unittest.main()