diff --git a/tests/tlo/test-ui.py b/tests/tlo/test-ui.py index 686b39f9603..8ffc263e29d 100755 --- a/tests/tlo/test-ui.py +++ b/tests/tlo/test-ui.py @@ -214,9 +214,9 @@ def verify_tool(tool, x, y, z, a, b, c, u, v, w, diameter, front_angle, back_ang c.mdi('g43.2') c.wait_complete() error = e.poll() -if error[1] != "G43.2: H-word missing": +if error[1] != "G43.2: No axes specified and H word missing": print "G43.2 with missing H-word did not produce expected error" - print "got [%s]" % e.error[1] + print "got [%s]" % error[1] sys.exit(1)