Index: wflow-py/UnitTests/TestFrameWork.py =================================================================== diff -u -rd5e1def9ab764a1b06573bcb9bba123c996b1f23 -r0d46ee66e7021b4c277c74f874d16ad34213879f --- wflow-py/UnitTests/TestFrameWork.py (.../TestFrameWork.py) (revision d5e1def9ab764a1b06573bcb9bba123c996b1f23) +++ wflow-py/UnitTests/TestFrameWork.py (.../TestFrameWork.py) (revision 0d46ee66e7021b4c277c74f874d16ad34213879f) @@ -11,7 +11,7 @@ def testapirun(self): startTime = 1 - stopTime = 10 + stopTime = 20 currentTime = 1 # set runid, clonemap and casename. Also define the ini file @@ -37,11 +37,11 @@ dynModelFw._runSuspend() # saves the state variables dynModelFw._wf_shutdown() - # Now read the csv results and check of they match the first run - # Sum should be approx c -1.1690310351550579 my_data = wf.genfromtxt(os.path.join(caseName,runId,"tes.csv"), delimiter=',') - self.assertAlmostEquals(-1.1690310351550579,my_data[:,2].sum()) + self.assertAlmostEquals(134.16633081436157,my_data[:,2].sum()) + my_data_mean = wf.genfromtxt(os.path.join(caseName, runId, "tes_mean_5.csv"), delimiter=',') + self.assertAlmostEquals(112.25376296043396, my_data_mean[:, 2].sum()) if __name__ == '__main__':