code: def assert_ro_token_failure(method, url, data=None):
      """Perform the request with a read-only token and assert failure"""
      with pytest.raises(requests.HTTPError):
          requests.request(
              method=method,
              url=url,
              headers={"api-key": "my-ro-secret"},
              json=data,
          ).raise_for_status()
  
file_path: qdrant/tests/api_key/test_rest.py
imports: import requests
  import pytest
  import os
label_desc: Use image node_id 12 for calling a global function with example usage: assert_ro_token_failure(method, url, data) without return types