예제 #1
0
def test_w3w():
    g = geocoder.w3w(words)
    assert g.ok
예제 #2
0
def test_w3w_reverse():
    g = geocoder.w3w(ottawa, method='reverse')
    assert g.ok
예제 #3
0
def test_w3w():
    g = geocoder.w3w(location)
    assert g.ok
예제 #4
0
def test_w3w_reverse():
    g = geocoder.w3w(ottawa, method='reverse')
    assert g.ok
예제 #5
0
def test_w3w():
    g = geocoder.w3w(words)
    assert g.ok
예제 #6
0
def test_w3w():
    g = geocoder.w3w(location)
    assert g.ok
    osm_count, fields_count = g.debug()[0]
    assert osm_count == 0
    assert fields_count == 7
예제 #7
0
def test_w3w():
    g = geocoder.w3w(location)
    assert g.ok
    osm_count, fields_count = g.debug()[0]
    assert osm_count == 0
    assert fields_count >= 7