Skip to content

Commit 970acab

Browse files
committed
pyproject.toml: register pytest mark privileged
f53d5d3 testcases: mark certain tests as privileged Introduced the custom mark privileged to mark out tests which need to be run as privileged processes. However this leads to warning messages seen in the warnings summary for the tests. We register these custom marks to avoid these warning messages. Signed-off-by: Sachin Prabhu <[email protected]>
1 parent 6a4a2e9 commit 970acab

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,7 @@ exclude = [
3333
"^testcases/smbtorture/selftest",
3434
]
3535

36+
[tool.pytest.ini_options]
37+
markers = [
38+
"privileged: marks tests as requiring to be run as privileged processes.",
39+
]

0 commit comments

Comments
 (0)