Skip to content

Commit

Permalink
move import to top
Browse files Browse the repository at this point in the history
  • Loading branch information
a-gleeson committed Jan 10, 2025
1 parent 5e65879 commit 151e8b3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/platform_helper/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 151e8b3

Please sign in to comment.