Skip to content

Commit d11dec7

Browse files
authored
fix: Make test_results be an array and not a str with an array (#24)
1 parent 111bd7d commit d11dec7

2 files changed

Lines changed: 21 additions & 16 deletions

File tree

pyproject.toml

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,6 @@
22
requires = ["hatchling", "hatch-vcs", "build", "twine"]
33
build-backend = "hatchling.build"
44

5-
[tool.pytest.ini_options]
6-
addopts = [
7-
"-rsxX",
8-
"-s",
9-
"--import-mode=importlib",
10-
"--log-cli-level=DEBUG",
11-
'-m not slow or not integration',
12-
]
13-
pythonpath = [".", "src", "tests"]
14-
testpaths = ["tests"]
15-
markers = [
16-
"flaky: tests that can randomly fail through no change to the code",
17-
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
18-
"integration: tests that require external resources",
19-
]
20-
215
[project]
226
name = "reqstool-python-hatch-plugin"
237
dynamic = ["version"]
@@ -68,6 +52,23 @@ dependencies = [
6852
"pytest==8.3.3",
6953
]
7054

55+
56+
[tool.pytest.ini_options]
57+
addopts = [
58+
"-rsxX",
59+
"-s",
60+
"--import-mode=importlib",
61+
"--log-cli-level=DEBUG",
62+
'-m not slow or not integration',
63+
]
64+
pythonpath = [".", "src", "tests"]
65+
testpaths = ["tests"]
66+
markers = [
67+
"flaky: tests that can randomly fail through no change to the code",
68+
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
69+
"integration: tests that require external resources",
70+
]
71+
7172
[tool.black]
7273
line-length = 120
7374
target-version = ['py310']
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Copyright © LFV
22

33

4+
import pytest
5+
6+
7+
@pytest.mark.skip(reason="Need to check how a hatch plugin can be tested")
48
def test_hooks():
59
pass

0 commit comments

Comments
 (0)