X-Git-Url: https://git.sommitrealweird.co.uk/rss2maildir.git/blobdiff_plain/826d674cb3aea5d61f50bfc7410aeee23def33bd..e606cd7a8357ae41b20bd90a533abc7417c315a6:/tests/unittests/UnorderedListTests.py?ds=sidebyside diff --git a/tests/unittests/UnorderedListTests.py b/tests/unittests/UnorderedListTests.py index 4d2c393..2224e74 100755 --- a/tests/unittests/UnorderedListTests.py +++ b/tests/unittests/UnorderedListTests.py @@ -8,7 +8,7 @@ class UnorderedListTests(unittest.TestCase): def setUp(self): self.inputpath = os.path.sep.join(os.path.dirname(os.path.realpath(__file__)).split(os.path.sep)[0:-1]) - def testwellformedlist(self): + def testWellFormedList(self): try: from rss2maildir import HTML2Text except: @@ -25,7 +25,7 @@ class UnorderedListTests(unittest.TestCase): output = parser.gettext() self.assertEqual(output, expectedoutput) - def testbadlyformed(self): + def testBadlyFormedList(self): try: from rss2maildir import HTML2Text except: @@ -43,5 +43,11 @@ class UnorderedListTests(unittest.TestCase): output = parser.gettext() self.assertEqual(output, expectedoutput) +def suite(): + suite = unittest.TestSuite() + suite.addTest(UnorderedListTests("testWellFormedList")) + suite.addTest(UnorderedListTests("testBadlyFormedList")) + return suite + if __name__ == "__main__": unittest.main()