Skip to content

Commit

Permalink
managed to reactivate all tests - (Task #5)
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
PhilMFischer committed Oct 1, 2019
1 parent 4e201e1 commit ea13bc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/json_io/parts/test_json_part.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit ea13bc9

Please sign in to comment.