Skip to content

Commit c2d7175

Browse files
committed
fix: pre-commit
1 parent d7574c3 commit c2d7175

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/integration/test_prepare_tools.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)