14 lines
347 B
Python
14 lines
347 B
Python
"""Pytest configuration and fixtures."""
|
|
|
|
import pytest
|
|
|
|
|
|
def pytest_configure(config):
|
|
"""Configure pytest."""
|
|
config.addinivalue_line(
|
|
"markers", "integration: marks tests as integration tests (deselect with '-m \"not integration\"')"
|
|
)
|
|
config.addinivalue_line(
|
|
"markers", "unit: marks tests as unit tests"
|
|
)
|