code: def test_bing_details():
      details = {"adminDistrict": "Ontario", "locality": "Ottawa"}
  
      g = geocoder.bing(None, method="details", **details)
      assert g.ok
      assert g.city == city
      osm_count, fields_count = g.debug()[0]
      assert osm_count >= 3
      assert fields_count >= 12
  
      details = {
          "addressLine": "6912 Route 8",
          "adminDistrict": "Northumberland",
          "countryRegion": "CA",
          "locality": "Ludlow",
      }
  
      g = geocoder.bing(None, method="details", **details)
      assert g.ok
      osm_count, fields_count = g.debug()[0]
      assert osm_count >= 3
      assert fields_count >= 12
  
file_path: geocoder/tests/test_bing.py
imports: from builtins import str
  import requests_mock
  import geocoder
label_desc: Use image node_id 2 for calling a global function with example usage: test_bing_details() without return types