Skip to content

Commit 0701bae

Browse files
committed
update pyproject.toml: add pytest-timeout
1 parent d60562a commit 0701bae

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ dev = [
5454
"pytest-cov>=4.0",
5555
"pytest-mock>=3.10",
5656
"pytest-qt>=4.2",
57+
"pytest-timeout>=2.0",
5758
"pre-commit",
5859
"hypothesis>=6.0",
5960
]
@@ -62,6 +63,7 @@ test = [
6263
"pytest-cov>=4.0",
6364
"pytest-mock>=3.10",
6465
"pytest-qt>=4.2",
66+
"pytest-timeout>=2.0",
6567
"hypothesis>=6.0",
6668
]
6769

@@ -108,6 +110,7 @@ markers = [
108110
"hardware: Tests that require specific hardware, notable camera backends",
109111
# "slow: Tests that take a long time to run",
110112
"gui: Tests that require GUI interaction",
113+
"timeout: Test timeout in seconds (pytest-timeout)",
111114
]
112115

113116
[tool.coverage.run]

0 commit comments

Comments
 (0)