]> git.sommitrealweird.co.uk Git - rss2maildir.git/blob - tests/unittests/DefinitionListTests.py
* Update TODO list
[rss2maildir.git] / tests / unittests / DefinitionListTests.py
1 #!/usr/bin/python
2
3 import unittest
4 import os
5
6 import ParsingTests
7
8 class DefinitionListTests(ParsingTests.ParsingTest):
9     def testWellFormedDefinitionList(self):
10         return self.runParsingTest("definitionlist-wellformed")
11
12     def testBadlyFormedDefinitionList(self):
13         return self.runParsingTest("definitionlist-badlyformed")
14
15 def suite():
16     suite = unittest.TestSuite()
17     suite.addTest(DefinitionListTests("testWellFormedDefinitionList"))
18     suite.addTest(DefinitionListTests("testBadlyFormedDefinitionList"))
19     return suite
20
21 if __name__ == "__main__":
22     unittest.main()