code: def test_opencage_paid():
      # Paid API keys can be set to unlimited and have rate limit information ommitted from the response
      url = (
          "http://api.opencagedata.com/geocode/v1/json?query=The+Happy+Goat%2C+Ottawa&limit=1&key="
          + os.environ.get("OPENCAGE_API_KEY")
      )
      data_file = "tests/results/opencagedata_paid.json"
      with requests_mock.Mocker() as mocker, open(
          data_file, "r"
      ) as input:
          mocker.get(url, text=input.read())
          result = geocoder.opencage(address)
          assert result.ok
          osm_count, fields_count = result.debug()[0]
          assert osm_count >= 3
          assert fields_count >= 15
          assert result.remaining_api_calls == 999999
          assert result.limit_api_calls == 999999
  
file_path: geocoder/tests/test_opencage.py
imports: import os
  import geocoder
  import requests_mock
label_desc: Use image node_id 7 for calling a global function with example usage: test_opencage_paid() without return types