Skip to content

Commit db317eb

Browse files
mykauldkropachev
authored andcommitted
tests: register custom 'last' pytest mark to suppress warning
The test_tablets.py file uses @pytest.mark.last to ensure the decommission test runs last. Register this mark in pyproject.toml to eliminate the PytestUnknownMarkWarning.
1 parent 56498e3 commit db317eb

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,9 @@ log_level = "DEBUG"
121121
log_date_format = "%Y-%m-%d %H:%M:%S"
122122
xfail_strict = true
123123
addopts = "-rf"
124+
markers = [
125+
"last: mark test to run last within its module group",
126+
]
124127

125128
[tool.setuptools_scm]
126129
version_file = "cassandra/_version.py"

0 commit comments

Comments
 (0)