Skip to content

Commit

Permalink
tests: fix mock module paths
Browse files Browse the repository at this point in the history
  • Loading branch information
tmorrell committed Feb 26, 2025
1 parent 49f5e7e commit 8e813aa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/records/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,21 @@
import pytest
from invenio_app.factory import create_api
from invenio_indexer.api import RecordIndexer
from mock_module.api import MockRecord
from tests.records.mock_module.api import MockRecord


@pytest.fixture(scope="module")
def extra_entry_points():
"""Extra entry points to load the mock_module features."""
return {
"invenio_db.model": [
"mock_module = mock_module.models",
"mock_module = tests.records.mock_module.models",
],
"invenio_jsonschemas.schemas": [
"mock_module = mock_module.jsonschemas",
"mock_module = tests.records.mock_module.jsonschemas",
],
"invenio_search.mappings": [
"mocks = mock_module.mappings",
"mocks = tests.records.mock_module.mappings",
],
}

Expand Down

0 comments on commit 8e813aa

Please sign in to comment.