ID EN
Unittest

assertTrue

Python 3.11

Test that expr is true (or false).

Syntax

PYTHON
assertTrue(expr, msg=None)