Пример #1
0
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) 
Пример #2
0
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)
Пример #3
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]          
Пример #4
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]