integration-tests/environment.py
def after_all(context):
    """
    after_all is an Behave environmental control. This function is run after
    the integration tests end. It changes the project code stored at
    `sceptre/integration-tests/config.yaml` is returned to its
    non-UUID-appended value.
    """
    config_file = os.path.abspath(os.path.join(
        os.path.dirname(__file__),
        "config",
        "config.yaml"
    ))
    with open(config_file, "r+") as f:
        config = yaml.load(f)
    config["project_code"] = "sceptre-integration-tests"
    with open(config_file, "w") as f:
        yaml.dump(config, f, default_flow_style=False)

    after_all is an Behave environmental control. This function is run after
    the integration tests end. It changes the project code stored at
    `sceptre/integration-tests/config.yaml` is returned to its
    non-UUID-appended value.
    
after_all is an Behave environmental control. This function is run after
the integration tests end. It changes the project code stored at
`sceptre/integration-tests/config.yaml` is returned to its
non-UUID-appended value.
after_all is an Behave environmental control . This function is run after the integration tests end . It changes the project code stored at ` sceptre / integration - tests / config . yaml ` is returned to its non - UUID - appended value .
def after_all(context):
    config_file = os.path.abspath(os.path.join(
        os.path.dirname(__file__),
        "config",
        "config.yaml"
    ))
    with open(config_file, "r+") as f:
        config = yaml.load(f)
    config["project_code"] = "sceptre-integration-tests"
    with open(config_file, "w") as f:
        yaml.dump(config, f, default_flow_style=False)
def after_all ( context ) : config_file = os . path . abspath ( os . path . join ( os . path . dirname ( __file__ ) , "config" , "config.yaml" ) ) with open ( config_file , "r+" ) as f : config = yaml . load ( f ) config [ "project_code" ] = "sceptre-integration-tests" with open ( config_file , "w" ) as f : yaml . dump ( config , f , default_flow_style = False )
after_all is an Behave environmental control.
after_all is an Behave environmental control .
"""
    after_all is an Behave environmental control. This function is run after
    the integration tests end. It changes the project code stored at
    `sceptre/integration-tests/config.yaml` is returned to its
    non-UUID-appended value.
    """
context