예제 #1
0
def data(TEST):
    if not TEST.exceptions:
        TEST.exceptions = utils.TestDataContainer()

    trove_exception = trove_exceptions.ClientException
    TEST.exceptions.trove = (
        exceptions.create_stubbed_exception(trove_exception))

    trove_auth = trove_exceptions.Unauthorized
    TEST.exceptions.trove_unauthorized = (
        exceptions.create_stubbed_exception(trove_auth))
예제 #2
0
def data(TEST):
    TEST.exceptions = exceptions.data

    watcher_exception = wexceptions.ClientException
    TEST.exceptions.watcher = exceptions.create_stubbed_exception(
        watcher_exception)
예제 #3
0
def data(TEST):
    TEST.exceptions = exceptions.data

    monitoring_exception = exc.ClientException
    TEST.exceptions.monitoring = exceptions.create_stubbed_exception(
        monitoring_exception)
예제 #4
0
def data(TEST):
    TEST.exceptions = utils.TestDataContainer()

    senlin_exception = senlin_exceptions.HTTPException
    TEST.exceptions.senlin = create_stubbed_exception(senlin_exception)
예제 #5
0
def data(TEST):
    TEST.exceptions = utils.TestDataContainer()

    evoque_exception = evoque_exceptions.HTTPException
    TEST.exceptions.evoque = create_stubbed_exception(evoque_exception)
예제 #6
0
def data(TEST):
    TEST.exceptions = exceptions.data

    watcher_exception = wexceptions.ClientException
    TEST.exceptions.watcher = exceptions.create_stubbed_exception(
        watcher_exception)
예제 #7
0
def data(TEST):
    TEST.exceptions = utils.TestDataContainer()

    blazar_exception = blazar_exceptions.BlazarClientException
    TEST.exceptions.blazar = (
        exceptions.create_stubbed_exception(blazar_exception))
예제 #8
0
def data(TEST):
    TEST.exceptions = exceptions.data

    tuskar_exception = tuskarclient.ClientException
    TEST.exceptions.tuskar = exceptions.create_stubbed_exception(
        tuskar_exception)