def test_ensure_clean_workspace(ids, scd_api, scd_session):
    for op_id in map(ids, OP_TYPES):
        actions.delete_operation_if_exists(op_id, scd_session, scd_api)
def test_ensure_clean_workspace(ids, scd_api, scd_session):
    actions.delete_operation_if_exists(ids(OP_TYPE), scd_session, scd_api)
示例#3
0
def test_ensure_clean_workspace(ids, scd_api, scd_session, scd_session2):
    for op_id, owner in ((ids(OP1_TYPE), scd_session), (ids(OP2_TYPE),
                                                        scd_session2)):
        actions.delete_operation_if_exists(op_id, owner, scd_api)
    actions.delete_subscription_if_exists(ids(SUB2_TYPE), scd_session2,
                                          scd_api)
def test_ensure_clean_workspace(ids, scd_api, scd_session):
    for op_id in map(ids, (OP1_TYPE, OP2_TYPE)):
        actions.delete_operation_if_exists(op_id, scd_session, scd_api)
    actions.delete_subscription_if_exists(ids(SUB_TYPE), scd_session, scd_api)