Skip to content
Snippets Groups Projects
Verified Commit da9203fc authored by Antoine R. Dumont's avatar Antoine R. Dumont
Browse files

tests: Fix current_version attribute change

This fixes test build [1]

[1] https://jenkins.softwareheritage.org/view/swh%20master%20(draft)/job/DVAU/job/tests/1575/console

Related to T4305
parent 2f6dedcd
No related branches found
No related tags found
1 merge request!167tests: Fix current_version attribute change
...@@ -42,16 +42,12 @@ from swh.model.model import ( ...@@ -42,16 +42,12 @@ from swh.model.model import (
TimestampWithTimezone, TimestampWithTimezone,
) )
from swh.storage import get_storage from swh.storage import get_storage
from swh.storage.postgresql.db import Db as StorageBackend from swh.storage.postgresql.storage import Storage
from swh.vault.cookers.git_bare import GitBareCooker from swh.vault.cookers.git_bare import GitBareCooker
from swh.vault.in_memory_backend import InMemoryVaultBackend from swh.vault.in_memory_backend import InMemoryVaultBackend
storage_postgresql_proc = factories.postgresql_proc( storage_postgresql_proc = factories.postgresql_proc(
load=[ load=[partial(initialize_database_for_module, "storage", Storage.current_version)],
partial(
initialize_database_for_module, "storage", StorageBackend.current_version
)
],
) )
storage_postgresql = factories.postgresql("storage_postgresql_proc") storage_postgresql = factories.postgresql("storage_postgresql_proc")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment