Permalink
Browse files

Include more tests in runtest.py.

  • Loading branch information...
1 parent d85ed5b commit ec32e6b5002cec595f7ddfe912e9d0ed01687b90 @josephw josephw committed Sep 14, 2012
Showing with 4 additions and 0 deletions.
  1. +1 −0 runtest.py
  2. +3 −0 src/tests/testFeedvalidator.py
View
1 runtest.py
@@ -1,4 +1,5 @@
modules = [
+ 'testFeedvalidator',
'testUri',
'testXmlEncoding',
'testXmlEncodingDecode',
View
3 src/tests/testFeedvalidator.py
@@ -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.