ID EN
Unittest

skipUnless

Python 3.11

Skip the decorated test unless condition is true.

Syntax

PYTHON
@unittest.skipUnless(condition, reason)