Skip to content

Commit d07f199

Browse files
author
Andrei Neagu
committed
refactor examples palcement
1 parent 6204f65 commit d07f199

File tree

5 files changed

+3
-3
lines changed

5 files changed

+3
-3
lines changed

β€Žpackages/models-library/tests/test__models_examples.pyβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
from models_library.rest_pagination import Page
88
from models_library.rpc_pagination import PageRpc
99
from pydantic import BaseModel
10+
from pytest_simcore.examples.models_library import PAGE_EXAMPLES, RPC_PAGE_EXAMPLES
1011
from pytest_simcore.pydantic_models import (
1112
ModelExample,
1213
iter_examples,
1314
walk_model_examples_in_package,
1415
)
15-
from shared_examples import PAGE_EXAMPLES, RPC_PAGE_EXAMPLES
1616

1717
GENERIC_EXAMPLES: list[ModelExample] = [
1818
*iter_examples(model_cls=Page[str], examples=PAGE_EXAMPLES),

β€Žpackages/models-library/tests/test_rest_pagination.pyβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import pytest
44
from models_library.rest_pagination import Page, PageMetaInfoLimitOffset
55
from pydantic.main import BaseModel
6-
from shared_examples import PAGE_EXAMPLES
6+
from pytest_simcore.examples.models_library import PAGE_EXAMPLES
77

88

99
@pytest.mark.parametrize(

β€Žpackages/models-library/tests/test_rpc_pagination.pyβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import pytest
44
from models_library.rpc_pagination import PageRpc
5-
from shared_examples import RPC_PAGE_EXAMPLES
5+
from pytest_simcore.examples.models_library import RPC_PAGE_EXAMPLES
66

77

88
@pytest.mark.parametrize("example", RPC_PAGE_EXAMPLES)

β€Žpackages/pytest-simcore/src/pytest_simcore/examples/__init__.pyβ€Ž

Whitespace-only changes.

0 commit comments

Comments
Β (0)