16 lines
464 B
Python
16 lines
464 B
Python
"""Smoke tests for pytest-aqatfw plugin activation."""
|
|
|
|
import pytest
|
|
|
|
|
|
def test_plugin_marker_registered(pytestconfig: pytest.Config) -> None:
|
|
"""The aqatfw marker must be registered by the plugin."""
|
|
markers = [str(m).split(":", 1)[0] for m in pytestconfig.getini("markers")]
|
|
assert "aqatfw" in markers
|
|
|
|
|
|
@pytest.mark.aqatfw
|
|
def test_plugin_marker_applies() -> None:
|
|
"""Applying the framework marker must not break collection."""
|
|
assert True
|