From 049ea0ecf4a3b7bafc3989865a1ec95fc15b8ac8 Mon Sep 17 00:00:00 2001 From: Eric Trombly Date: Sat, 25 Apr 2020 14:58:42 -0500 Subject: [PATCH] change dogbone test to not check for the number of dogbones, just location. Due to the path changing --- src/Mod/Path/PathTests/TestPathDressupDogbone.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Mod/Path/PathTests/TestPathDressupDogbone.py b/src/Mod/Path/PathTests/TestPathDressupDogbone.py index 5ab8019038..5057f8e9ba 100644 --- a/src/Mod/Path/PathTests/TestPathDressupDogbone.py +++ b/src/Mod/Path/PathTests/TestPathDressupDogbone.py @@ -133,7 +133,8 @@ class TestDressupDogbone(PathTestBase): return "(%.2f, %.2f)" % (pt[0], pt[1]) # Make sure we get 8 bones, 2 in each corner (different heights) - self.assertEqual(len(locs), 8) + # with start point changes it passes back over the same spot multiple times, so just make sure they are in the right locations + # self.assertEqual(len(locs), 8) self.assertEqual("(27.50, 27.50)", formatBoneLoc(locs[0])) self.assertEqual("(27.50, 27.50)", formatBoneLoc(locs[1])) self.assertEqual("(27.50, 72.50)", formatBoneLoc(locs[2]))