@patch.object(location, 'geocode_location')
    def test_get_location_without_coords(self, mock):
        self.assertEqual(mock.call_count, 0)
        location.get_coordinates('awooga!')
        self.assertEqual(mock.call_count, 1)
Test get_location without coordinates.
dataset/ETHPy150Open ofa/connect/open_connect/connect_core/tests/test_utils_location.py/GetLocationTest.test_get_location_without_coords