Index: tst_DGROPumpData/test.py =================================================================== diff -u -r93fe289e1e33e4b2cf824e30f810490f073ecab3 -rcea779e4d5eb422603a9194f6b9a01ec7e268612 --- tst_DGROPumpData/test.py (.../test.py) (revision 93fe289e1e33e4b2cf824e30f810490f073ecab3) +++ tst_DGROPumpData/test.py (.../test.py) (revision cea779e4d5eb422603a9194f6b9a01ec7e268612) @@ -13,7 +13,9 @@ # import names -from dialin.ui import utils, hd_simulator +from dialin.ui import utils +from dialin import HDSimulator +HDSimulator = HDSimulator() def gotoScreenNtest_Contains_DGROPumpData(): @@ -38,17 +40,17 @@ step = 10 for i in range ( 10, 500, step): - hd_simulator.setDGROPumpData(i, i + step * 1, i + step * 2) + HDSimulator.setDGROPumpData(i, i + step * 1, i + step * 2) test_values (i, i + step * 1, i + step * 2) - hd_simulator.setDGROPumpData(100, 200, 300) + HDSimulator.setDGROPumpData(100, 200, 300) test_values (100, 200, 300) - hd_simulator.setDGROPumpData(100, 200, 300) + HDSimulator.setDGROPumpData(100, 200, 300) test_values (100, 200, 300) # Coverage - hd_simulator.setDGROPumpData(0, 0, 0) + HDSimulator.setDGROPumpData(0, 0, 0) test_values (0, 0, 0) utils.tstDone()