integration-tests/environment.py
def clean_vpc_yaml():
    """
    Certain scenarios require a stack update. This is done by changing a value
    in the vpc stack's config file. clean_vpc_yaml returns the value to its
    default value.
    """
    vpc_config_file = os.path.abspath(os.path.join(
        os.path.dirname(__file__),
        "config",
        "test-env",
        "a",
        "vpc.yaml"
    ))
    with open(vpc_config_file, "r+") as f:
        config = f.read()
    config = config.replace("updated_vpc.py", "vpc.py")
    with open(vpc_config_file, "w") as f:
        f.write(config)

    Certain scenarios require a stack update. This is done by changing a value
    in the vpc stack's config file. clean_vpc_yaml returns the value to its
    default value.
    
Certain scenarios require a stack update. This is done by changing a value
in the vpc stack's config file. clean_vpc_yaml returns the value to its
default value.
Certain scenarios require a stack update . This is done by changing a value in the vpc stack ' s config file . clean_vpc_yaml returns the value to its default value .
def clean_vpc_yaml():
    vpc_config_file = os.path.abspath(os.path.join(
        os.path.dirname(__file__),
        "config",
        "test-env",
        "a",
        "vpc.yaml"
    ))
    with open(vpc_config_file, "r+") as f:
        config = f.read()
    config = config.replace("updated_vpc.py", "vpc.py")
    with open(vpc_config_file, "w") as f:
        f.write(config)
def clean_vpc_yaml ( ) : vpc_config_file = os . path . abspath ( os . path . join ( os . path . dirname ( __file__ ) , "config" , "test-env" , "a" , "vpc.yaml" ) ) with open ( vpc_config_file , "r+" ) as f : config = f . read ( ) config = config . replace ( "updated_vpc.py" , "vpc.py" ) with open ( vpc_config_file , "w" ) as f : f . write ( config )
Certain scenarios require a stack update.
Certain scenarios require a stack update .
"""
    Certain scenarios require a stack update. This is done by changing a value
    in the vpc stack's config file. clean_vpc_yaml returns the value to its
    default value.
    """