Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7123365
D8697.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
368 B
Subscribers
None
D8697.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 19, 6:35 AM (3 d, 5 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3220035
Attached To
D8697: tests: make the kafka_server_base fixture a function scoped one
Event Timeline
Log In to Comment