# encoding: utf-8


from opencage.geocoder import OpenCageGeocode

# Check if protocol can be set
geocoder = OpenCageGeocode('abcde', 'http')
assert geocoder.url == 'http://api.opencagedata.com/geocode/v1/json'

ae520ad2c27b2c8e02a1a21bd4ea67d6c737a539
<mask token>

<mask token>
assert geocoder.url == 'http://api.opencagedata.com/geocode/v1/json'

<mask token>
geocoder = OpenCageGeocode('abcde', 'http')
assert geocoder.url == 'http://api.opencagedata.com/geocode/v1/json'

from opencage.geocoder import OpenCageGeocode
geocoder = OpenCageGeocode('abcde', 'http')
assert geocoder.url == 'http://api.opencagedata.com/geocode/v1/json'

# encoding: utf-8


from opencage.geocoder import OpenCageGeocode

# Check if protocol can be set
geocoder = OpenCageGeocode('abcde', 'http')
assert geocoder.url == 'http://api.opencagedata.com/geocode/v1/json'
