예제 #1
0
def test_ensure_clean_workspace(ids, scd_api, scd_session):
    actions.delete_subscription_if_exists(ids(SUB_TYPE), scd_session, scd_api)
예제 #2
0
def test_ensure_clean_workspace(ids, scd_api, scd_session):
    for sub_id in (ids(SUB1_TYPE), ids(SUB2_TYPE), ids(SUB3_TYPE)):
        actions.delete_subscription_if_exists(sub_id, 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, scd_session2):
    actions.delete_constraint_reference_if_exists(ids(CONSTRAINT_TYPE),
                                                  scd_session, scd_api)

    for sub_id in (ids(SUB1_TYPE), ids(SUB2_TYPE), ids(SUB3_TYPE)):
        actions.delete_subscription_if_exists(sub_id, scd_session2, scd_api)
예제 #5
0
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)