hc99's picture
Add files using upload-large-folder tool
d8ad0fd verified
import pytest
from tests.e2e.data_masking.infrastructure import DataMaskingStack
@pytest.fixture(autouse=True, scope="package")
def infrastructure():
"""Setup and teardown logic for E2E test infrastructure
Yields
------
Dict[str, str]
CloudFormation Outputs from deployed infrastructure
"""
stack = DataMaskingStack()
try:
yield stack.deploy()
finally:
stack.delete()