Skip to content

Commit 3716eb1

Browse files
[DOP-13290] Refact code
1 parent fe68142 commit 3716eb1

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

tests/conftest.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,7 @@
3939
create_transfer,
4040
create_user,
4141
)
42-
from tests.utils import (
43-
prepare_new_database,
44-
run_async_migrations,
45-
)
42+
from tests.utils import prepare_new_database, run_async_migrations
4643

4744
PROJECT_PATH = Path(__file__).parent.parent.resolve()
4845

tests/test_integration/test_run_transfer/test_hdfs_to_postgres.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
from syncmaster.db.models import Status, Transfer
77
from tests.mocks import MockUser
8-
from tests.utils import get_run_on_end
98
from tests.test_integration.test_run_transfer.conftest import df_schema
9+
from tests.utils import get_run_on_end
1010

1111
pytestmark = [pytest.mark.asyncio, pytest.mark.worker, pytest.mark.hdfs, pytest.mark.postgres]
1212

tests/test_integration/test_run_transfer/test_s3_to_postgres.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
from syncmaster.db.models import Status, Transfer
77
from tests.mocks import MockUser
8-
from tests.utils import get_run_on_end
98
from tests.test_integration.test_run_transfer.conftest import df_schema
9+
from tests.utils import get_run_on_end
1010

1111
pytestmark = [pytest.mark.asyncio, pytest.mark.worker, pytest.mark.s3, pytest.mark.postgres]
1212

0 commit comments

Comments
 (0)