From ec9b2239ce0efe9e0fae1b98c098916de4a2cab7 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Fri, 29 Sep 2023 17:46:28 +1000 Subject: [PATCH] regress test for G43 in centroid post Since the centroid post now support --no-tlo, we can test that too. --- src/Mod/Path/PathTests/TestCentroidPost.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Mod/Path/PathTests/TestCentroidPost.py b/src/Mod/Path/PathTests/TestCentroidPost.py index c013e7f3fd..a9fbbb7f40 100644 --- a/src/Mod/Path/PathTests/TestCentroidPost.py +++ b/src/Mod/Path/PathTests/TestCentroidPost.py @@ -277,8 +277,9 @@ M99 args = "--no-header --no-show-editor" gcode = postprocessor.export(postables, "-", args) - self.assertEqual(gcode.splitlines()[5], "M6 T2") - self.assertEqual(gcode.splitlines()[6], "M3 S3000") + self.assertEqual(gcode.splitlines()[5], "G43 H2") + self.assertEqual(gcode.splitlines()[6], "M6 T2") + self.assertEqual(gcode.splitlines()[7], "M3 S3000") # suppress TLO #