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

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