assertTrue(true_or_false_condition)
→ None
If the condition is False then the function raises an AssertionError
if the
environment variable HOUDINI_ENABLE_HOM_ASSERTS
is set to 1.
def my_division(a, b): hou.assertTrue(b > 0) return a/b