Test Module¤
TestModule
dataclass
¤
TestModule(
node_id: str,
name: str,
path: str,
doc: str,
markers: list[str],
node_type: str = "module",
)
A collected test module (test file).
Attributes:
Name | Type | Description |
---|---|---|
doc |
str
|
The module docstring. |
markers |
list[str]
|
Test markers. Each marker is a string. |
name |
str
|
The module name. |
node_id |
str
|
The node ID of the test module. |
node_type |
str
|
The node type. Always set to 'module'. |
path |
str
|
The module file path. |