Skip to content

Commit 34de4e6

Browse files
committed
Require the swh.journal pytest plugin explicitly
1 parent 9ad7ad3 commit 34de4e6

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
# License: GNU General Public License version 3, or any later version
44
# See top-level LICENSE file for more information
55

6-
pytest_plugins = ["swh.storage.pytest_plugin"]
6+
pytest_plugins = ["swh.storage.pytest_plugin", "swh.journal.pytest_plugin"]

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ include = ["swh.*"]
2323
dependencies = {file = ["requirements.txt", "requirements-swh.txt"]}
2424

2525
[tool.setuptools.dynamic.optional-dependencies]
26-
testing = {file = ["requirements-test.txt", "requirements-swh-journal.txt"]}
26+
testing = {file = ["requirements-test.txt"]}
2727
journal = {file = ["requirements-swh-journal.txt"]}
2828

2929
[project.entry-points."swh.storage.classes"]

requirements-test.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ pytest-shared-session-scope
88
# adding the [testing] extra.
99
swh.core[testing] >= 3.0.0
1010
swh.model[testing] >= 6.14.0
11+
swh.journal[pytest] >= 2.0.0
1112
pytz
1213
pytest-postgresql
1314
pytest-redis

0 commit comments

Comments
 (0)