def test_Group(): db = AstralGeocoder() _e = db.europe
def test_Adelaide(): """Test for fix made due to bug report from Klaus Alexander Seistrup""" db = AstralGeocoder() _city = db['Adelaide']
def test_GroupContainment(): db = AstralGeocoder() assert 'africa' in db
def test_MultiCountry(): db = AstralGeocoder() city = db['Abu Dhabi'] assert city.name == 'Abu Dhabi'
def test_CityContainment(): db = AstralGeocoder() assert 'london' in db