]> git.sommitrealweird.co.uk Git - rss2maildir.git/blob - tests/unittests/UnorderedListTests.py
Fix issue with images having the same alt value but different urls
[rss2maildir.git] / tests / unittests / UnorderedListTests.py
1 #!/usr/bin/python
2
3 import unittest
4 import sys
5 import os
6
7 import ParsingTests
8
9 class UnorderedListTests(ParsingTests.ParsingTest):
10     def testWellFormedList(self):
11         return self.runParsingTest("unorderedlist-wellformed")
12
13     def testBadlyFormedList(self):
14         return self.runParsingTest("unorderedlist-badlyformed")
15
16 def suite():
17     suite = unittest.TestSuite()
18     suite.addTest(UnorderedListTests("testWellFormedList"))
19     suite.addTest(UnorderedListTests("testBadlyFormedList"))
20     return suite
21
22 if __name__ == "__main__":
23     unittest.main()