'''
Created on 2014-12-11
@author: xWX238932
'''
import unittest
class Test(unittest.TestCase):
def setUp(self):
print("--- setUp ---")
pass
def tearDown(self):
print("--- tearDown ---")
pass
def testName(self):
print('######## test start ########')
print(1==None)
print('######## test end ########')
if __name__ == "__main__":
#import sys;sys.argv = ['', 'Test.testName']
unittest.main()
Created on 2014-12-11
@author: xWX238932
'''
import unittest
class Test(unittest.TestCase):
def setUp(self):
print("--- setUp ---")
pass
def tearDown(self):
print("--- tearDown ---")
pass
def testName(self):
print('######## test start ########')
print(1==None)
print('######## test end ########')
if __name__ == "__main__":
#import sys;sys.argv = ['', 'Test.testName']
unittest.main()