Page MenuHomeSoftware Heritage

D4016.diff
No OneTemporary

D4016.diff

diff --git a/swh/storage/pytest_plugin.py b/swh/storage/pytest_plugin.py
--- a/swh/storage/pytest_plugin.py
+++ b/swh/storage/pytest_plugin.py
@@ -24,19 +24,14 @@
@pytest.fixture
-def swh_storage_backend_config(postgresql_proc, swh_storage_postgresql):
+def swh_storage_backend_config(swh_storage_postgresql):
"""Basic pg storage configuration with no journal collaborator
(to avoid pulling optional dependency on clients of this fixture)
"""
yield {
"cls": "local",
- "db": "postgresql://{user}@{host}:{port}/{dbname}".format(
- host=postgresql_proc.host,
- port=postgresql_proc.port,
- user="postgres",
- dbname="tests",
- ),
+ "db": swh_storage_postgresql.dsn,
"objstorage": {"cls": "memory", "args": {}},
"check_config": {"check_write": True},
}

File Metadata

Mime Type
text/plain
Expires
Thu, Jul 3, 11:13 AM (3 w, 6 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3220890

Event Timeline