Exemplo n.º 1
0
def after_each_scenario(scenario):
    # Delete the environments created in the scenario.
    environment_instance_request.delete_created_instances()
    environment_request.delete_created_environments()

    # Remove testing products in SDC
    terrain_steps.remove_testing_products_in_sdc()
Exemplo n.º 2
0
def after_each_scenario(scenario):
    # Delete the environments created in the scenario.
    environment_instance_request.delete_created_instances()
    environment_request.delete_created_environments()

    # Remove testing products in SDC
    terrain_steps.remove_testing_products_in_sdc()
Exemplo n.º 3
0
def after_each_scenario(scenario):
    # Delete the environments created in the scenario.
    environment_instance_request.delete_created_instances()
    environment_request.delete_created_environments()

    # Remove SDC product data
    for product_and_release in world.product_and_release_list:
        world.product_sdc_request.delete_product_and_release(product_and_release['product_name'],
                                                             product_and_release['product_release'])
Exemplo n.º 4
0
def after_each_scenario(scenario):
    # Delete the environments created in the scenario.
    environment_instance_request.delete_created_instances()
    environment_request.delete_created_environments()
Exemplo n.º 5
0
def after_each_scenario(scenario):
    # Delete the environments created in the scenario.
    environment_request.delete_created_environments()
Exemplo n.º 6
0
def after_each_scenario(scenario):
    """ Hook: After each scenario. It will clean environments and instances created in the scenario. """
    environment_instance_request.delete_created_instances()
    environment_request.delete_created_environments()
Exemplo n.º 7
0
def after_each_scenario(scenario):
    """ Hook: After each scenario. It will clean environments and instances created in the scenario. """
    environment_instance_request.delete_created_instances()
    environment_request.delete_created_environments()