Page MenuHomeSoftware Heritage

D8697.id31409.diff
No OneTemporary

D8697.id31409.diff

diff --git a/swh/journal/pytest_plugin.py b/swh/journal/pytest_plugin.py
--- a/swh/journal/pytest_plugin.py
+++ b/swh/journal/pytest_plugin.py
@@ -182,7 +182,7 @@
return kafka_server_base
-@pytest.fixture(scope="session")
+@pytest.fixture(scope="function")
def kafka_server_base() -> Iterator[str]:
"""Create a mock kafka cluster suitable for tests.

File Metadata

Mime Type
text/plain
Expires
Thu, Dec 19, 9:18 AM (14 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3220035

Event Timeline