コード例 #1
0
def verify_headers_in_response(context):
    """
    verify headers in response
    Ex:
      | parameter      | value      |
      | x-total-counts | <entities> |
    :param context: 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 headers in response...")
    ngsi = NGSI()
    ngsi.verify_headers_response(context)
    __logger__.info("...Verified headers in response")
コード例 #2
0
def verify_headers_in_response(context):
    """
    verify headers in response
    Ex:
      | parameter      | value      |
      | x-total-counts | <entities> |
    :param context: 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 headers in response...")
    ngsi = NGSI()
    ngsi.verify_headers_response(context)
    __logger__.info("...Verified headers in response")
コード例 #3
0
ファイル: general_steps.py プロジェクト: prabhat2410/orionnew
def verify_headers_in_response(context):
    """
    verify headers in response
    Ex:
          | parameter          | value                |
          | Fiware-Total-Count | 5                    |
          | Location           | /v2/subscriptions/.* |
    :param context: 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 headers in response...")
    ngsi = NGSI()
    ngsi.verify_headers_response(context)
    __logger__.info("...Verified headers in response")
コード例 #4
0
ファイル: general_steps.py プロジェクト: Fiware/context.Orion
def verify_headers_in_response(context):
    """
    verify headers in response
    Ex:
          | parameter          | value                |
          | Fiware-Total-Count | 5                    |
          | Location           | /v2/subscriptions/.* |
    :param context: 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 headers in response...")
    ngsi = NGSI()
    ngsi.verify_headers_response(context)
    __logger__.info("...Verified headers in response")