'GeoIP query parameter checking.'

def test02_bad_query(self):

    cntry_g = GeoIP2(city='<foo>')
    with self.assertRaises(GeoIP2Exception):
        cntry_g.city('tmc.edu')
    with self.assertRaises(GeoIP2Exception):
        cntry_g.coords('tmc.edu')
    with self.assertRaises(TypeError):
        cntry_g.country_code(17)
    with self.assertRaises(TypeError):
        cntry_g.country_name(GeoIP2)
