예제 #1
0
def setUpModule():
    """
    called once, before anything else in this module
    :return:
    """
    print("In setUpModule()...")
    global math_obj
    math_obj = mymathlib()
예제 #2
0
def setUpModule():
    """
    Called once, before anything else in the module
    :return:
    """
    print('In setUpModule()...')
    global math_object
    math_object = mymathlib()
예제 #3
0
def setUpModule():
    'called once, before anything else in this module'
    print "In setUpModule()..."
    global math_obj
    math_obj = mymathlib()
예제 #4
0
def setUpModule():
    print("In setUpModule()...")
    global math_obj
    math_obj = mymathlib()
def setUpModule():
    'called once, before anything else in this module'
    print "In setUpModule()..."
    global math_obj
    math_obj = mymathlib()
	def test_case01(self):
        	print "In test_case01()"
        	assert mymathlib().add(2, 5) == 7
예제 #7
0
 def test_case01(self):
     print("In test_case01()")
     assert mymathlib().add(2, 5) == 7
예제 #8
0
 def test_case01(self):
     print("In test_case01()")
     assert mymathlib().sub(5, 3) == 2