def execAll(showFlows): print "############# ALL #########" print "Executing test cases for whole model ... no fail means passing !" tests.testAll(showFlows) print "Executing the 'ALL' part of the model ... " ModelExecAll.executeModelAll(showFlows)
def execAll(showFlows): print "############# ALL #########" print "Executing test cases for whole model ... no fail means passing !" tests.testAll(showFlows) print "Executing the 'ALL' part of the model ... " ModelExecAll.executeModelAll(showFlows)
def testAll(showFlows): import ModelExecAll testDictSyn = utility.createTestStock_All() testDictMod = ModelExecAll.executeModelAll(showFlows) @ok def _test_all_stocks(): auxDictLen = len(utility.createAuxiliaries_All()) for i_ in xrange(auxDictLen): key_ = "Day-"+ str(i_) assert testDictSyn[key_][0]== testDictMod[key_][0]
def testAll(showFlows): import ModelExecAll testDictSyn = utility.createTestStock_All() testDictMod = ModelExecAll.executeModelAll(showFlows) @ok def _test_all_stocks(): auxDictLen = len(utility.createAuxiliaries_All()) for i_ in xrange(auxDictLen): key_ = "Day-" + str(i_) assert testDictSyn[key_][0] == testDictMod[key_][0]