Return to Snippet

Revision: 19322
at October 21, 2009 11:24 by manatlan


Initial Code
import unittest

@unittest.FunctionTestCase
def old_tests():
    assert 1==1

if __name__ == "__main__":
    suite = unittest.TestSuite()
    suite.addTest( old_tests )

    unittest.TextTestRunner().run( suite )

Initial URL

                                

Initial Description

                                

Initial Title
Python unittests : turning old tests in unittest cases

Initial Tags
python

Initial Language
Python