File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ def test_detect_logos(modeler: Modeler):
108108 result = modeler .prepare_tools .find_logos (max_height = 0.005 )
109109 assert len (result .face_ids ) == 147
110110 success = modeler .prepare_tools .find_and_remove_logos (max_height = 0.005 )
111- assert success == True
111+ assert success is True
112112 assert len (design .components [0 ].bodies [2 ].faces ) == 42
113113
114114
@@ -121,11 +121,11 @@ def test_detect_and_fix_logo_as_problem_area(modeler: Modeler):
121121 result = modeler .prepare_tools .find_logos (max_height = 0.005 )
122122 assert len (result .face_ids ) == 0
123123 success = result .fix ()
124- assert success == False
124+ assert success is False
125125 bodies = []
126126 bodies .append (design .components [0 ].bodies [2 ])
127127 result = modeler .prepare_tools .find_logos (max_height = 0.005 )
128128 assert len (result .face_ids ) == 147
129129 result .fix ()
130- assert success == True
130+ assert success is True
131131 assert len (design .components [0 ].bodies [2 ].faces ) == 42
You can’t perform that action at this time.
0 commit comments