Skip to content

Commit b720453

Browse files
committed
Add the new test suites to runtest.
Current status: FAILED (failures=17, errors=4) --HG-- extra : convert_revision : svn%3Aacbfec75-9323-0410-a652-858a13e371e0/trunk%40919
1 parent 957300f commit b720453

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

tests/test_formfiller.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,11 @@ def testTwoSelect(self):
279279
{"type": u"EndTag", "name": u"option", "data": []},
280280
{"type": u"EndTag", "name": u"select", "data": []}])
281281

282+
def buildTestSuite():
283+
return unittest.defaultTestLoader.loadTestsFromName(__name__)
284+
282285
def main():
286+
buildTestSuite()
283287
unittest.main()
284288

285289
if __name__ == "__main__":

tests/test_whitespace_filter.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,11 @@ def testWhitespaceInPre(self):
112112
{"type": u"Characters", "data": u"foo" + spaceCharacters + "bar"},
113113
{"type": u"EndTag", "name": u"pre", "data": []}])
114114

115+
def buildTestSuite():
116+
return unittest.defaultTestLoader.loadTestsFromName(__name__)
117+
115118
def main():
119+
buildTestSuite()
116120
unittest.main()
117121

118122
if __name__ == "__main__":

0 commit comments

Comments
 (0)