Skip to content

Commit

Permalink
change dogbone test to not check for the number of dogbones, just loc…
Browse files Browse the repository at this point in the history
…ation. Due to the path changing
  • Loading branch information
etrombly committed Apr 25, 2020
1 parent dcdfa6c commit 049ea0e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Mod/Path/PathTests/TestPathDressupDogbone.py
Expand Up @@ -133,7 +133,8 @@ def formatBoneLoc(pt):
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]))
Expand Down

0 comments on commit 049ea0e

Please sign in to comment.