From 9c6162f88cc7e2f4d2bdb92d7c95a06cfa75a9c4 Mon Sep 17 00:00:00 2001 From: vocx-fc Date: Tue, 4 Feb 2020 21:59:48 -0600 Subject: [PATCH] Draft: unit test for arc by 3 points --- src/Mod/Draft/drafttests/test_creation.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Mod/Draft/drafttests/test_creation.py b/src/Mod/Draft/drafttests/test_creation.py index aed89bb26e..5930be459a 100644 --- a/src/Mod/Draft/drafttests/test_creation.py +++ b/src/Mod/Draft/drafttests/test_creation.py @@ -134,8 +134,9 @@ class DraftCreation(unittest.TestCase): c = Vector(0, 5, 0) _msg(" a={0}, b={1}".format(a, b)) _msg(" c={}".format(c)) - Draft.make_arc_3points = _fake_function - obj = Draft.make_arc_3points(a, b, c) + + import draftobjects.arc_3points as arc3 + obj = arc3.make_arc_3points([a, b, c]) self.assertTrue(obj, "'{}' failed".format(operation)) def test_ellipse(self):