From 151e8b3c3294bfaeaf0e2a616af33dfe7f88c9cf Mon Sep 17 00:00:00 2001 From: Anthoni Gleeson Date: Fri, 10 Jan 2025 11:09:26 +0000 Subject: [PATCH] move import to top --- tests/platform_helper/conftest.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/platform_helper/conftest.py b/tests/platform_helper/conftest.py index 3d0b303f1..4edeaebe6 100644 --- a/tests/platform_helper/conftest.py +++ b/tests/platform_helper/conftest.py @@ -13,6 +13,7 @@ from moto import mock_aws from moto.ec2 import utils as ec2_utils +import dbt_platform_helper.domain.versions as versions from dbt_platform_helper.constants import PLATFORM_CONFIG_FILE from dbt_platform_helper.providers.aws.opensearch import OpensearchProvider from dbt_platform_helper.providers.aws.redis import RedisProvider @@ -731,10 +732,6 @@ def mock_return_value(self): # TODO - stop gap until validation.py is refactored into a class, then it will be an easier job of just passing in a mock_redis_provider into the constructor for the config_provider. For now autouse is needed. - -import dbt_platform_helper.domain.versions as versions - - @pytest.fixture(autouse=True) def mock_get_aws_supported_versions(request, monkeypatch): if "skip_supported_versions_fixture" in request.keywords: