ID EN
Unittest

assertIn

Python 3.11

Test that member is (or is not) in container.

Syntax

PYTHON
assertIn(member, container, msg=None)