code: def test_opencage_address():
      """Expected result :
      https://api.opencagedata.com/geocode/v1/json?q=The+Happy+Goat,+Ottawa&key=YOUR-API-KEY
      """
      g = geocoder.opencage(address)
      assert g.ok
      assert g.country == "Canada"
      assert g.state == "Ontario"
      assert g.state_code == "ON"
      assert g.city == "Ottawa"
      assert g.street == "Wilbrod Street"
      assert g.housenumber == "317"
      assert g.postal.startswith("K1N")
      assert (
          g.remaining_api_calls > 0 and g.remaining_api_calls != 999999
      )
      assert g.limit_api_calls > 0 and g.remaining_api_calls != 999999
  
file_path: geocoder/tests/test_opencage.py
imports: import os
  import geocoder
  import requests_mock
label_desc: Use image node_id 6 for calling a global function with example usage: test_opencage_address() without return types