def setUpModule():
    """
    called once, before anything else in this module
    :return:
    """
    print("In setUpModule()...")
    global math_obj
    math_obj = mymathlib()
Beispiel #2
0
def setUpModule():
    """
    Called once, before anything else in the module
    :return:
    """
    print('In setUpModule()...')
    global math_object
    math_object = mymathlib()
Beispiel #3
0
def setUpModule():
    'called once, before anything else in this module'
    print "In setUpModule()..."
    global math_obj
    math_obj = mymathlib()
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
Beispiel #7
0
 def test_case01(self):
     print("In test_case01()")
     assert mymathlib().add(2, 5) == 7
Beispiel #8
0
 def test_case01(self):
     print("In test_case01()")
     assert mymathlib().sub(5, 3) == 2