code: def test_geonames_first_result(geonames_response):
      point = geonames_response[0]
      assert point.ok
      assert point.geonames_id == 6094817
      assert point.lat == "45.41117"
      assert point.lng == "-75.69812"
      assert point.address == "Ottawa"
      assert point.country == "Canada"
      assert point.country_code == "CA"
      assert point.state == "Ontario"
      assert point.state_code == "08"
      assert point.description == "capital of a political entity"
      assert point.class_description == "city, village,..."
      assert point.feature_class == "P"
      assert point.code == "PPLC"
      assert point.population == 812129
  
file_path: geocoder/tests/test_geonames.py
imports: import json
  import pytest
  import geocoder
  import requests_mock
label_desc: Use image node_id 5 for calling a global function with example usage: test_geonames_first_result(geonames_response) without return types