Esempio n. 1
0
def test_Group():
    db = AstralGeocoder()
    _e = db.europe
Esempio n. 2
0
def test_Adelaide():
    """Test for fix made due to bug report from Klaus Alexander Seistrup"""

    db = AstralGeocoder()
    _city = db['Adelaide']
Esempio n. 3
0
def test_GroupContainment():
    db = AstralGeocoder()
    assert 'africa' in db
Esempio n. 4
0
def test_MultiCountry():
    db = AstralGeocoder()
    city = db['Abu Dhabi']
    assert city.name == 'Abu Dhabi'
Esempio n. 5
0
def test_CityContainment():
    db = AstralGeocoder()
    assert 'london' in db