Skip to content

Commit

Permalink
Include more tests in runtest.py.
Browse files Browse the repository at this point in the history
  • Loading branch information
josephw committed Sep 14, 2012
1 parent d85ed5b commit ec32e6b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions runtest.py
@@ -1,4 +1,5 @@
modules = [
'testFeedvalidator',
'testUri',
'testXmlEncoding',
'testXmlEncodingDecode',
Expand Down
3 changes: 3 additions & 0 deletions src/tests/testFeedvalidator.py
Expand Up @@ -34,5 +34,8 @@ def testLeadingXmlLooksLikeAFeed(self):
def testHtmlDoesNotLookLikeAFeed(self):
self.assertFalse(feedvalidator.sniffPossibleFeed("<!DOCTYPE html>"))

def buildTestSuite():
return unittest.TestLoader().loadTestsFromTestCase(FeedValidatorTest)

if __name__ == '__main__':
unittest.main()

0 comments on commit ec32e6b

Please sign in to comment.