Skip to content
Snippets Groups Projects
Commit e83452b3 authored by David Douard's avatar David Douard
Browse files

Import TEST_OBJECTS from swh.model instead of swh.journal

this later has been deprecated for a while now.
parent 82ce7bf0
No related branches found
No related tags found
1 merge request!834Add support for ExtID in the storage
......@@ -10,7 +10,7 @@ from unittest.mock import patch
import pytest
from swh.journal.client import JournalClient
from swh.journal.tests.journal_data import TEST_OBJECTS
from swh.model.tests.swh_model_data import TEST_OBJECTS
from swh.storage import get_storage
from swh.storage.backfill import (
PARTITION_KEY,
......
......@@ -11,9 +11,9 @@ from hypothesis import given
from hypothesis.strategies import lists
from swh.journal.pytest_plugin import assert_all_objects_consumed, consume_messages
from swh.journal.tests.journal_data import TEST_OBJECTS
from swh.model.hypothesis_strategies import objects
from swh.model.model import Origin, OriginVisit, Person
from swh.model.tests.swh_model_data import TEST_OBJECTS
from swh.storage import get_storage
......
......@@ -14,8 +14,8 @@ import pytest
from swh.journal.client import JournalClient
from swh.journal.serializers import key_to_kafka, value_to_kafka
from swh.journal.tests.journal_data import DUPLICATE_CONTENTS, TEST_OBJECTS
from swh.model.hashutil import DEFAULT_ALGORITHMS, MultiHash, hash_to_hex
from swh.model.tests.swh_model_data import DUPLICATE_CONTENTS, TEST_OBJECTS
from swh.storage import get_storage
from swh.storage.cassandra.model import ContentRow, SkippedContentRow
from swh.storage.in_memory import InMemoryStorage
......
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