From 7fca19eacc9e5b268218db987bc156a82b88bfcf Mon Sep 17 00:00:00 2001 From: Nikita Bushmakin Date: Wed, 6 Nov 2024 13:40:20 +0300 Subject: [PATCH] [fix] fix imports for ci --- pyreindexer/tests/conftest.py | 6 +++--- pyreindexer/tests/tests/test_database.py | 2 +- pyreindexer/tests/tests/test_index.py | 4 ++-- pyreindexer/tests/tests/test_items.py | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/pyreindexer/tests/conftest.py b/pyreindexer/tests/conftest.py index 90defaf..acfe24c 100644 --- a/pyreindexer/tests/conftest.py +++ b/pyreindexer/tests/conftest.py @@ -2,9 +2,9 @@ import pytest -from .helpers.api import ConnectorApi -from .helpers.log_helper import log_fixture -from .test_data.constants import index_definition, item_definition +from pyreindexer.tests.helpers.api import ConnectorApi +from pyreindexer.tests.helpers.log_helper import log_fixture +from pyreindexer.tests.test_data.constants import index_definition, item_definition def pytest_addoption(parser): diff --git a/pyreindexer/tests/tests/test_database.py b/pyreindexer/tests/tests/test_database.py index 82d6244..e90a5d0 100644 --- a/pyreindexer/tests/tests/test_database.py +++ b/pyreindexer/tests/tests/test_database.py @@ -1,6 +1,6 @@ from hamcrest import * -from ..test_data.constants import special_namespaces, special_namespaces_cluster +from pyreindexer.tests.test_data.constants import special_namespaces, special_namespaces_cluster class TestCrudDb: diff --git a/pyreindexer/tests/tests/test_index.py b/pyreindexer/tests/tests/test_index.py index fe71729..11c866f 100644 --- a/pyreindexer/tests/tests/test_index.py +++ b/pyreindexer/tests/tests/test_index.py @@ -1,7 +1,7 @@ from hamcrest import * -from ..helpers.base_helper import get_ns_description -from ..test_data.constants import index_definition, updated_index_definition +from pyreindexer.tests.helpers.base_helper import get_ns_description +from pyreindexer.tests.test_data.constants import index_definition, updated_index_definition class TestCrudIndexes: diff --git a/pyreindexer/tests/tests/test_items.py b/pyreindexer/tests/tests/test_items.py index 24c0646..719259f 100644 --- a/pyreindexer/tests/tests/test_items.py +++ b/pyreindexer/tests/tests/test_items.py @@ -1,7 +1,7 @@ from hamcrest import * -from ..helpers.base_helper import get_ns_items -from ..test_data.constants import item_definition +from pyreindexer.tests.helpers.base_helper import get_ns_items +from pyreindexer.tests.test_data.constants import item_definition class TestCrudItems: