# -*- coding:utf-8 -*- import unittest class test(unittest.TestCase): def setUp(self): print 'This is the setup msg' def tearDown(self): print 'This is the teardown msg' def test1(self): print 'This is the first testcase' def test2(self): print 'This…