Index: wflow-py/UnitTests/Testwflow_sbm2bmi.py =================================================================== diff -u --- wflow-py/UnitTests/Testwflow_sbm2bmi.py (revision 0) +++ wflow-py/UnitTests/Testwflow_sbm2bmi.py (revision 3e605fb3dec01e1b369744cf6c2769e2c1344b8b) @@ -0,0 +1,21 @@ +__author__ = 'schelle' + +import unittest +import wflow.wflow_sbm as wf +import os + +""" +Run wflow_sbm for 10 steps and checks if the outcome is approx that of the reference run +""" + +class MyTest(unittest.TestCase): + + + def TestBMIrun(self): + import wflow.wflow_bmi as bmi + bmimodel = bmi.wflowbmi_csdms() + bmimodel.initialize('../../examples/wflow_rhine_sbm2/wflow_sbm2.ini') + bmimodel.update() + +if __name__ == '__main__': + unittest.main()