Session End¤
SessionEnd
dataclass
¤
Event emitted when the session is finished.
Attributes:
Name | Type | Description |
---|---|---|
event |
str
|
The event type. Always set to 'session_end'. |
exit_status |
int
|
The status which pytest will return to the system. 0 means success, 1 means test failure, anything else is an error. |
session_id |
str
|
The unique if of this test session used to aggregate events together. |
timestamp |
str
|
The time when the session finished in ISO 8601 format. |
event
class-attribute
instance-attribute
¤
event: str = 'session_end'
The event type. Always set to 'session_end'.
exit_status
instance-attribute
¤
exit_status: int
The status which pytest will return to the system. 0 means success, 1 means test failure, anything else is an error.