Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7123404
D8692.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
D8692.diff
View Options
diff --git a/swh/provenance/tests/test_archive_interface.py b/swh/provenance/tests/test_archive_interface.py
--- a/swh/provenance/tests/test_archive_interface.py
+++ b/swh/provenance/tests/test_archive_interface.py
@@ -228,6 +228,7 @@
check_snapshot_get_heads(archive, archive_direct, data)
+@pytest.mark.grpc
@pytest.mark.parametrize(
"repo",
("cmdbts2", "out-of-order", "with-merges"),
@@ -245,6 +246,7 @@
check_snapshot_get_heads(archive, archive_graph, data)
+@pytest.mark.grpc
@pytest.mark.parametrize(
"repo",
("cmdbts2", "out-of-order", "with-merges"),
diff --git a/tox.ini b/tox.ini
--- a/tox.ini
+++ b/tox.ini
@@ -17,12 +17,17 @@
pytest {envsitepackagesdir}/swh/provenance \
--cov={envsitepackagesdir}/swh/provenance \
--cov-branch \
- -m kafka {posargs}
+ -m 'kafka' {posargs}
pytest --doctest-modules \
{envsitepackagesdir}/swh/provenance \
--cov={envsitepackagesdir}/swh/provenance \
--cov-branch --cov-append \
- -m 'not kafka' {posargs}
+ -m 'grpc' {posargs}
+ pytest --doctest-modules \
+ {envsitepackagesdir}/swh/provenance \
+ --cov={envsitepackagesdir}/swh/provenance \
+ --cov-branch --cov-append \
+ -m 'not kafka and not grpc' {posargs}
passenv = HOME # required by pytest-rabbitmq
[testenv:black]
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 19, 7:52 AM (10 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3229128
Attached To
D8692: tox: run grpc-related tests in a dedicated pytest session
Event Timeline
Log In to Comment