Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactoring/#149 split aws tests 2nd try #240

Merged
merged 4 commits into from
Mar 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion test/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from importlib.metadata import version
from exasol.ds.sandbox.lib.tags import DEFAULT_TAG_KEY
from exasol.ds.sandbox.lib.asset_id import AssetId
from test.aws_local_stack_access import AwsLocalStackAccess
from test.aws.local_stack_access import AwsLocalStackAccess

DEFAULT_ASSET_ID = AssetId("test", stack_prefix="test-stack", ami_prefix="test-ami")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from exasol.ds.sandbox.lib.asset_id import AssetId
from exasol.ds.sandbox.lib.setup_ec2.cf_stack import CloudformationStack
from exasol.ds.sandbox.lib.setup_ec2.key_file_manager import KeyFileManager
from test.aws_local_stack_access import AwsLocalStackAccess
from test.aws.local_stack_access import AwsLocalStackAccess
import multiprocessing as mp


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from exasol.ds.sandbox.lib.aws_access.aws_access import AwsAccess
from exasol.ds.sandbox.lib.vm_bucket.vm_dss_bucket import run_setup_vm_bucket, find_vm_bucket, \
create_vm_bucket_cf_template
from test.aws_mock_data import TEST_BUCKET_ID, get_waf_cloudformation_mock_data, TEST_ACL_ARN, \
from test.aws.mock_data import TEST_BUCKET_ID, get_waf_cloudformation_mock_data, TEST_ACL_ARN, \
get_s3_cloudformation_mock_data
from test.integration.aws.cloudformation_validation import validate_using_cfn_lint
from test.mock_cast import mock_cast
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from exasol.ds.sandbox.lib.aws_access.aws_access import AwsAccess
from exasol.ds.sandbox.lib.vm_bucket.vm_dss_bucket_waf import run_setup_vm_bucket_waf, \
find_acl_arn, get_cloudformation_template
from test.aws_mock_data import get_waf_cloudformation_mock_data, TEST_ACL_ARN
from test.aws.mock_data import get_waf_cloudformation_mock_data, TEST_ACL_ARN
from test.integration.aws.cloudformation_validation import validate_using_cfn_lint
from test.mock_cast import mock_cast

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
build_image_destination
from exasol.ds.sandbox.lib.export_vm.run_export_vm import export_vm
from exasol.ds.sandbox.lib.export_vm.vm_disk_image_format import VmDiskImageFormat
from test.aws_mock_data import get_ami_image_mock_data, TEST_AMI_ID, TEST_ROLE_ID, TEST_BUCKET_ID, INSTANCE_ID, \
from test.aws.mock_data import get_ami_image_mock_data, TEST_AMI_ID, TEST_ROLE_ID, TEST_BUCKET_ID, INSTANCE_ID, \
get_export_image_task_mock_data, get_s3_cloudformation_mock_data, get_waf_cloudformation_mock_data
from test.mock_cast import mock_cast

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from exasol.ds.sandbox.lib.aws_access.ami import Ami
from exasol.ds.sandbox.lib.aws_access.aws_access import AwsAccess
from exasol.ds.sandbox.lib.export_vm.run_make_ami_public import run_make_ami_public
from test.aws_mock_data import get_ami_image_mock_data
from test.aws.mock_data import get_ami_image_mock_data

from test.mock_cast import mock_cast

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion test/unit/test_printing.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
print_assets,
)
from exasol.ds.sandbox.lib.aws_access.aws_access import AwsAccess
from test.aws_mock_data import get_ami_image_mock_data, TEST_AMI_ID, get_snapshot_mock_data, \
from test.aws.mock_data import get_ami_image_mock_data, TEST_AMI_ID, get_snapshot_mock_data, \
get_export_image_task_mock_data, get_s3_object_mock_data, TEST_BUCKET_ID, \
get_ec2_cloudformation_mock_data, get_ec2_cloudformation_stack_resources_mock_data, get_ec2_key_pair_mock_data, \
get_s3_cloudformation_mock_data, TEST_CLOUDFRONT_DOMAIN_NAME
Expand Down
Loading