code: def test_ensure_json_body__invalid():
      # given
      empty_server_response = RequestsResponseAdapter(
          TestResponse(content=b"deadbeef")
      )
  
      # when
      body = ensure_json_response(empty_server_response)
  
      # then
      assert body == {}
  
file_path: neptune-client/tests/unit/neptune/new/api/test_requests_utils.py
imports: from bravado.requests_client import RequestsResponseAdapter
  from requests import Response
  from neptune.api.requests_utils import ensure_json_response
label_desc: Use image node_id 2 for calling a global function with example usage: test_ensure_json_body__invalid() without return types