Skip to content

Instantly share code, notes, and snippets.

@tanelpuhu
Created February 16, 2011 13:30
Show Gist options
  • Select an option

  • Save tanelpuhu/829367 to your computer and use it in GitHub Desktop.

Select an option

Save tanelpuhu/829367 to your computer and use it in GitHub Desktop.
import unittest
class myTest(unittest.TestCase):
def testTest(self):
self.assertTrue(True)
self.assertFalse(False)
self.assertEquals(1,1)
tests = unittest.TestSuite()
tests.addTest(unittest.makeSuite(myTest))
result = unittest.TextTestRunner(verbosity=2).run(tests)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment