Skip to content

Instantly share code, notes, and snippets.

@liudong
Last active December 15, 2015 14:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save liudong/5278212 to your computer and use it in GitHub Desktop.
Save liudong/5278212 to your computer and use it in GitHub Desktop.
Python: Empty unit test
#!/usr/bin/env python
# -*- coding: UTF-8 -*-
import unittest
class simpleTest(unittest.TestCase):
def setUp(self):
pass
def tearDown(self):
pass
def testExample(self):
self.assertEqual(1, 1)
if '__main__' == __name__:
unittest.main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment