setUpClass()
A class method called before tests in an individual class run. setUpClass
is called with the class as the only argument and must be decorated as a classmethod()
:
@classmethod def setUpClass(cls): ...
See Class and Module Fixtures for more details.
New in version 3.2.
Please login to continue.