From ea13bc94ee1c05c7c3a6e695b846c475bfdbbf6b Mon Sep 17 00:00:00 2001 From: "Philipp M. Fischer" Date: Tue, 1 Oct 2019 16:20:53 +0200 Subject: [PATCH] managed to reactivate all tests - (Task #5) - Missing testoutput is due to some minor bug in freecad itself. see: https://forum.freecadweb.org/viewtopic.php?f=10&t=39732 --- Task #5: Implement Import Functionality --- test/json_io/parts/test_json_part.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/json_io/parts/test_json_part.py b/test/json_io/parts/test_json_part.py index 8615b49..7ebe2bc 100644 --- a/test/json_io/parts/test_json_part.py +++ b/test/json_io/parts/test_json_part.py @@ -58,8 +58,8 @@ def test_parse(self): self.assertEqual(json_part.shape, "BOX", "Property is correctly set") self.assertEqual(json_part.length, 40, "Property is correctly set") - self.assertEqual(json_part.width, 10, "Property is correctly set") - self.assertEqual(json_part.height, 30, "Property is correctly set") + self.assertEqual(json_part.width, 20, "Property is correctly set") + self.assertEqual(json_part.height, 10, "Property is correctly set") self.assertEqual(json_part.radius, 0, "Property is correctly set and") self.assertEqual(json_part.color, 12632256 << 8, "Property is correctly set")