Reworked testWorkplaneFromFace

This commit is contained in:
Adam Urbanczyk
2017-08-31 14:58:14 +02:00
parent 873168e50a
commit ea619f6409

View File

@ -214,8 +214,8 @@ class TestCadQuery(BaseTest):
self.saveModel(r)
#the result should have 7 faces
self.assertEqual(7,r.faces().size() )
self.assertEqual(type(r.val()), Solid)
self.assertEqual(type(r.first().val()),Solid)
self.assertEqual(type(r.val()), Compound)
self.assertEqual(type(r.first().val()),Compound)
def testFrontReference(self):
s = CQ(makeUnitCube()).faces("front").workplane() #make a workplane on the top face