コード例 #1
0
def verify_error_message(context):
    """
    verify error response
    :param context: parameters to evaluate. It’s a clever place where you and behave can store information to share around. It runs at three levels, automatically managed by behave.
    """
    __logger__.debug("Verifying error message ...")
    ngsi = NGSI()
    ngsi.verify_error_response(context, context.resp)
    __logger__.info("...Verified that error message is the expected")
コード例 #2
0
ファイル: general_steps.py プロジェクト: prabhat2410/orionnew
def verify_error_message(context):
    """
    verify error response
    :param context: parameters to evaluate. It’s a clever place where you and behave can store information to share around. It runs at three levels, automatically managed by behave.
    """
    __logger__.debug("Verifying error message ...")
    ngsi = NGSI()
    ngsi.verify_error_response(context, context.resp)
    __logger__.info("...Verified that error message is the expected")
コード例 #3
0
ファイル: requests.py プロジェクト: JJ/fiware-orion
def verify_error_message(context):
    """
    verify error response
    :param context: parameters to evaluate
    """
    global cb, resp
    __logger__.debug("Verifying error message ...")
    ngsi = NGSI()
    ngsi.verify_error_response(context, resp)
    __logger__.info("...Verified that error message is the expected")
コード例 #4
0
def verify_error_message(context):
    """
    verify error response
    :param context: parameters to evaluate
    """
    global cb, resp
    __logger__.debug("Verifying error message ...")
    ngsi = NGSI()
    ngsi.verify_error_response(context, resp)
    __logger__.info("...Verified that error message is the expected")
コード例 #5
0
def verify_error_message(context):
    """
    verify error response
    :param context: parameters to evaluate. It’s a clever place where you and behave can store information to share around. It runs at three levels, automatically managed by behave.
    """
    __logger__.debug("Verifying error message in several entities...")
    entities_context = context.cb.get_entity_context()
    ngsi = NGSI()
    for i in range(int(entities_context["entities_number"])):
        ngsi.verify_error_response(context, context.resp_list[i])
    __logger__.info("...Verified that error message is the expected in all entities ")
コード例 #6
0
ファイル: general_steps.py プロジェクト: prabhat2410/orionnew
def verify_error_message(context):
    """
    verify error response
    :param context: parameters to evaluate. It’s a clever place where you and behave can store information to share around. It runs at three levels, automatically managed by behave.
    """
    __logger__.debug("Verifying error message in several entities...")
    entities_context = context.cb.get_entity_context()
    ngsi = NGSI()
    for i in range(int(entities_context["entities_number"])):
        ngsi.verify_error_response(context, context.resp_list[i])
    __logger__.info(
        "...Verified that error message is the expected in all entities ")
コード例 #7
0
ファイル: requests.py プロジェクト: JJ/fiware-orion
def verify_error_message(context):
    """
    verify error response
    :param context: parameters to evaluate
    """
    global cb, resp_list
    __logger__.debug("Verifying error message in several entities...")
    entities_context = cb.get_entity_context()
    ngsi = NGSI()
    for i in range(int(entities_context["entities_number"])):
        ngsi.verify_error_response(context, resp_list[i])
    __logger__.info("...Verified that error message is the expected in all entities ")
コード例 #8
0
def verify_error_message(context):
    """
    verify error response
    :param context: parameters to evaluate
    """
    global cb, resp_list
    __logger__.debug("Verifying error message in several entities...")
    entities_context = cb.get_entity_context()
    ngsi = NGSI()
    for i in range(int(entities_context["entities_number"])):
        ngsi.verify_error_response(context, resp_list[i])
    __logger__.info(
        "...Verified that error message is the expected in all entities ")