#NEWLINE# def test_user_agent_default( self ) : #NEWLINE# #INDENT# with patch ( 'geopy.geocoders.base.DEFAULT_USER_AGENT' , 'mocked_user_agent/0.0.0' ) : #NEWLINE# #INDENT# self . assertEqual ( geopy . geocoders . base . DEFAULT_USER_AGENT , 'mocked_user_agent/0.0.0' ) #NEWLINE# geocoder = Geocoder ( ) #NEWLINE# self . assertEqual ( geocoder . headers [ 'User-Agent' ] , 'mocked_user_agent/0.0.0' )