fix: Don't user `assert` in unit tests
This commit is contained in:
parent
cec2f4da55
commit
0c42f71c9f
|
@ -7,8 +7,9 @@ class TestJoints(unittest.TestCase):
|
|||
|
||||
def test_joint_hirth(self):
|
||||
j = nhf.joints.hirth_joint()
|
||||
assert isinstance(j.val().solids(), Cq.Solid),\
|
||||
"Hirth joint must be in one piece"
|
||||
self.assertIsInstance(
|
||||
j.val().solids(), Cq.Solid,
|
||||
msg="Hirth joint must be in one piece")
|
||||
def test_joints_hirth_assembly(self):
|
||||
nhf.joints.hirth_assembly()
|
||||
def test_joints_comma_assembly(self):
|
||||
|
|
Loading…
Reference in New Issue