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

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