'Testing GeoIP query parameter checking.'

def test02_bad_query(self):

    cntry_g = GeoIP(city='<foo>')
    self.assertRaises(GeoIPException, cntry_g.city, 'google.com')
    self.assertRaises(GeoIPException, cntry_g.coords, 'yahoo.com')
    self.assertRaises(TypeError, cntry_g.country_code, 17)
    self.assertRaises(TypeError, cntry_g.country_name, GeoIP)
