From f127bd51e826618280f5951f471acc66870df193 Mon Sep 17 00:00:00 2001 From: David Mueller Date: Mon, 25 Nov 2024 15:29:10 +0100 Subject: [PATCH] Change last element of s.mcodes array from 0 to -1 to reflect fix --- tests/startup-state/test-ui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/startup-state/test-ui.py b/tests/startup-state/test-ui.py index 71009cd5a17..fed438f05a4 100755 --- a/tests/startup-state/test-ui.py +++ b/tests/startup-state/test-ui.py @@ -270,7 +270,7 @@ def assert_axis_initialized(axis): #assert(math.fabs(s.max_acceleration - 123.45) < 0.0000001) assert(math.fabs(s.max_velocity - 45.67) < 0.0000001) -assert(s.mcodes == (0, -1, 5, -1, 9, -1, 48, -1, 53, 0)) +assert(s.mcodes == (0, -1, 5, -1, 9, -1, 48, -1, 53, -1)) assert(s.mist == 0) assert(s.motion_line == 0) assert(s.motion_mode == linuxcnc.TRAJ_MODE_FREE)