Exemplo n.º 1
0
def then_the_node_is_deleted(step):

    Assertions.assert_response_ok(world.response)

    assert_equals(
        Fabutils.execute_delete_node(group=world.group_name,
                                     node_name=world.node_name), False)
Exemplo n.º 2
0
def the_node_is_not_deleted_from_the_system(step):

    Assertions.assert_response_ok(world.response)

    assert_equals(
        Fabutils.execute_delete_node(group=world.group_name,
                                     node_name=world.node_name), True)
    assert_equals(Fabutils.execute_import_deleted(group=world.group_name),
                  True)
Exemplo n.º 3
0
def the_node_is_not_deleted_from_the_system(step):

    Assertions.assert_response_ok(world.response)

    assert_equals(Fabutils.execute_delete_node(group=world.group_name, node_name=world.node_name), True)
    assert_equals(Fabutils.execute_import_deleted(group=world.group_name), True)
Exemplo n.º 4
0
def then_the_node_is_deleted(step):

    Assertions.assert_response_ok(world.response)

    assert_equals(Fabutils.execute_delete_node(group=world.group_name, node_name=world.node_name), False)