code: def test_locationiq_reverse():
      url = "https://locationiq.org/v1/search.php?q=45.421106%2C+-75.690308&format=json&addressdetails=1&key=TEST_KEY"
      data_file = "tests/results/locationiq_reverse.json"
      with requests_mock.Mocker() as mocker, open(data_file, "r") as ip:
          mocker.get(url, text=ip.read())
          g = geocoder.locationiq(
              "{}, {}".format(ottawa[0], ottawa[1]),
              key="TEST_KEY",
              method="reverse",
          )
          assert g.ok
          assert g.city == city
          assert g.country == country
  
imports: import json
  import geocoder
  import requests_mock
label_desc: Use image node_id 4 for calling a global function with example usage: test_locationiq_reverse() without return types