예제 #1
0
파일: test.py 프로젝트: zayng/autotest
 def test_add(self):
     try:
         j = count(2, 4)
         add = j.add
         assert (add == 5), "Inter addtion result error"
     except AssertionError as msg:
         print(msg)
     else:
         print('test pass')
예제 #2
0
파일: utest.py 프로젝트: zayng/autotest
 def setUp(self):
     print('befor case')
     self.j = count(2, 3)