Esempio n. 1
0
def after_all(scenario):
    """
    Hook: Will be executed after all each scenario
    Removes Feature data and cleans the system. Kills all agents running in the VM.
    """
    after_each_scenario(scenario)
    tear_down(scenario)
Esempio n. 2
0
def after_all(scenario):
    """
    Hook: Will be executed after all Scenarios and Features.
    Removes Feature data and cleans the system. Kills all agents running in the VM.
    """
    tear_down(scenario)
    rest_utils.delete_node(world.headers, world.tenant_id, CONFIG_VM_HOSTNAME)
    execute_chef_client_stop()
    execute_puppet_agent_stop()
    remove_chef_client_cert_file()
    remove_puppet_agent_cert_file()
Esempio n. 3
0
def after_all(scenario):
    """
    Hook: Will be executed after all Scenarios and Features.
    Removes Feature data and cleans the system. Kills all agents running in the VM.
    """
    tear_down(scenario)
    rest_utils.delete_node(world.headers, world.tenant_id, CONFIG_VM_HOSTNAME)
    execute_chef_client_stop()
    execute_puppet_agent_stop()
    remove_chef_client_cert_file()
    remove_puppet_agent_cert_file()
Esempio n. 4
0
def after_all(scenario):
    """ Hook: Will be executed after all Scenarios and Features. Removes Feature data and cleans the system  """
    tear_down(scenario)
Esempio n. 5
0
def after_all(scenario):
    """ Hook: Will be executed after all Scenarios and Features. Removes Feature data and cleans the system  """
    tear_down(scenario)