Skip to content

Commit ad25d00

Browse files
authored
♻️ Maintenance: pytest-simcore initial cleanup (#5986)
1 parent 8f141ce commit ad25d00

File tree

332 files changed

+533
-765
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

332 files changed

+533
-765
lines changed

packages/aws-library/tests/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
import pytest
88

99
pytest_plugins = [
10-
"pytest_simcore.aws_server",
1110
"pytest_simcore.aws_ec2_service",
1211
"pytest_simcore.aws_s3_service",
12+
"pytest_simcore.aws_server",
1313
"pytest_simcore.environment_configs",
14-
"pytest_simcore.repository_paths",
1514
"pytest_simcore.pydantic_models",
1615
"pytest_simcore.pytest_global_environs",
16+
"pytest_simcore.repository_paths",
1717
]
1818

1919

packages/aws-library/tests/test_s3_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
from models_library.api_schemas_storage import S3BucketName
1818
from moto.server import ThreadedMotoServer
1919
from pydantic import AnyUrl
20-
from pytest_simcore.helpers.utils_envs import EnvVarsDict
20+
from pytest_simcore.helpers.monkeypatch_envs import EnvVarsDict
2121
from settings_library.s3 import S3Settings
2222
from types_aiobotocore_s3 import S3Client
2323

packages/dask-task-models-library/tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
import pytest
88

99
pytest_plugins = [
10-
"pytest_simcore.repository_paths",
1110
"pytest_simcore.pydantic_models",
1211
"pytest_simcore.pytest_global_environs",
12+
"pytest_simcore.repository_paths",
1313
]
1414

1515

packages/models-library/tests/test_utils_string_substitution.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
substitute_all_legacy_identifiers,
1616
upgrade_identifier,
1717
)
18-
from pytest_simcore.helpers.utils_envs import load_dotenv
18+
from pytest_simcore.helpers.monkeypatch_envs import load_dotenv
1919

2020

2121
@pytest.mark.parametrize(

packages/notifications-library/tests/conftest.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,14 @@
1717
from simcore_postgres_database.models.products import Vendor
1818

1919
pytest_plugins = [
20+
"pytest_simcore.docker_compose",
21+
"pytest_simcore.docker_swarm",
2022
"pytest_simcore.environment_configs",
21-
"pytest_simcore.repository_paths",
2223
"pytest_simcore.faker_payments_data",
2324
"pytest_simcore.faker_products_data",
2425
"pytest_simcore.faker_users_data",
25-
"pytest_simcore.docker_compose",
2626
"pytest_simcore.postgres_service",
27-
"pytest_simcore.docker_swarm",
28-
"pytest_simcore.tmp_path_extra",
27+
"pytest_simcore.repository_paths",
2928
]
3029

3130

packages/notifications-library/tests/email/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
import pytest
44
from pydantic import EmailStr
55
from pytest_mock import MockerFixture
6+
from pytest_simcore.helpers.monkeypatch_envs import setenvs_from_dict
67
from pytest_simcore.helpers.typing_env import EnvVarsDict
7-
from pytest_simcore.helpers.utils_envs import setenvs_from_dict
88

99

1010
@pytest.fixture

packages/postgres-database/tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
from aiopg.sa.engine import Engine
1717
from aiopg.sa.result import ResultProxy, RowProxy
1818
from faker import Faker
19-
from pytest_simcore.helpers.rawdata_fakers import (
19+
from pytest_simcore.helpers.faker_factories import (
2020
random_group,
2121
random_project,
2222
random_user,

packages/postgres-database/tests/products/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import pytest
1010
from aiopg.sa.exc import ResourceClosedError
1111
from faker import Faker
12-
from pytest_simcore.helpers.rawdata_fakers import random_product
12+
from pytest_simcore.helpers.faker_factories import random_product
1313
from simcore_postgres_database.webserver_models import products
1414
from sqlalchemy.dialects.postgresql import insert as pg_insert
1515

packages/postgres-database/tests/projects/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from aiopg.sa.connection import SAConnection
1111
from aiopg.sa.engine import Engine
1212
from aiopg.sa.result import ResultProxy, RowProxy
13-
from pytest_simcore.helpers.rawdata_fakers import random_project, random_user
13+
from pytest_simcore.helpers.faker_factories import random_project, random_user
1414
from simcore_postgres_database.models.projects import projects
1515
from simcore_postgres_database.models.users import users
1616

packages/postgres-database/tests/test_classifiers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import pytest
1111
import sqlalchemy as sa
1212
from aiopg.sa.engine import Engine
13-
from pytest_simcore.helpers.rawdata_fakers import random_group
13+
from pytest_simcore.helpers.faker_factories import random_group
1414
from simcore_postgres_database.models.classifiers import group_classifiers
1515
from simcore_postgres_database.models.groups import groups
1616
from sqlalchemy import func, literal_column

0 commit comments

Comments
 (0)