]> git.sommitrealweird.co.uk Git - rss2maildir.git/blob - tests/unittests/NestedListTests.py
Fix issue with images having the same alt value but different urls
[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 testWellFormedMixedNestedLists(self):
17         return self.runParsingTest("mixednestedlists-wellformed")
18
19 def suite():
20     suite = unittest.TestSuite()
21     suite.addTest(NestedListTests("testWellFormedNestedLists"))
22     suite.addTest(NestedListTests("testWellFormedNestedOrderedLists"))
23     suite.addTest(NestedListTests("testWellFormedMixedNestedLists"))
24     return suite
25
26 if __name__ == "__main__":
27     unittest.main()