/ Published in: Python
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
import unittest @unittest.FunctionTestCase def old_tests(): assert 1==1 if __name__ == "__main__": suite = unittest.TestSuite() suite.addTest( old_tests ) unittest.TextTestRunner().run( suite )