from enum import Enum
[docs]
class TestSessionState(Enum):
"""An enumeration describing the possible states of a :class:`.TestSession`."""
IDLE = 1
"""The :class:`.TestSession` is idle and not running.
Configuration changes can occur during this state.
"""
RUNNING = 2
"""The :class:`.TestSession` is running.
Logging and events are active while the test session is running.
Configuration changes are not allowed when the test session is running.
"""
INVALID_CONFIGURATION = 3
"""The project has a configuration error."""
NO_VALID_LOGGED_CHANNELS = 4
"""No channels have been configured, or all channels are disabled or not available."""
PAUSED = 5
"""The :class:`.TestSession` is paused.
Logging and events are not active while the test session is paused.
Configuration changes are not allowed when the test session is paused.
"""