Skip to content

Commit

Permalink
Fixed test_serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
ckunki committed Feb 29, 2024
1 parent b589f6e commit be625fa
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions test/integration/test_serialization.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,21 @@
import contextlib
import multiprocessing as mp
import os.path
import pickle
import traceback

from pathlib import Path

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
import multiprocessing as mp

from test.aws.fixtures import (
local_stack_aws_access,
default_asset_id,
test_dummy_ami_id,
)
from test.aws.localstack import local_stack

def create_key_pair_and_serialize(
aws_key_id: str,
Expand Down Expand Up @@ -87,7 +93,12 @@ def create_cloudformation_stack_and_serialize(
raise e


def test_cloudformation_stack_with_local_stack(tmp_path, local_stack_aws_access, default_asset_id, test_dummy_ami_id):
def test_cloudformation_stack_with_local_stack(
tmp_path,
local_stack_aws_access,
default_asset_id,
test_dummy_ami_id,
):
"""
Test that serialization and deserialization of CloudformationStack work!
"""
Expand Down

0 comments on commit be625fa

Please sign in to comment.