Skip to content

Commit 3d61cf8

Browse files
committed
fix: make unit tests work again
1 parent 978e21c commit 3d61cf8

File tree

3 files changed

+20
-10
lines changed

3 files changed

+20
-10
lines changed

poetry.lock

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+13-3
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ behave = "^1.2.6"
3737
terminaltables = "^3.1.10"
3838
deepdiff = "^5.8.1"
3939
pygments = "^2.16.1"
40-
pytest = "^7.4.3"
40+
pytest = "^8.3.5"
4141
dictdiffer = "^0.9.0"
4242
setuptools = "^68.2.2"
4343
icecream = "^2.1.3"
@@ -46,8 +46,17 @@ icecream = "^2.1.3"
4646
addopts = ["--ignore gen"]
4747

4848
[tool.pytest.ini_options]
49+
# Makes pytest CLI discover markers and conftest settings:
50+
markers = [
51+
"unit: mark a test as unit test.",
52+
"integration: mark a test as integration test."
53+
]
54+
testpaths = [
55+
"tests/unit",
56+
"tests/integration"
57+
]
4958
pythonpath = [
50-
"./src"
59+
"src"
5160
]
5261

5362
[tool.ruff]
@@ -89,4 +98,5 @@ allow_redefinition = true
8998

9099
[build-system]
91100
requires = ["poetry-core>=2.0.0"]
92-
build-backend = "poetry.core.masonry.api"
101+
build-backend = "poetry.core.masonry.api"
102+

src/tests/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)