Example #1
0
def test_w3w():
    g = geocoder.w3w(words)
    assert g.ok
Example #2
0
def test_w3w_reverse():
    g = geocoder.w3w(ottawa, method='reverse')
    assert g.ok
Example #3
0
def test_w3w():
    g = geocoder.w3w(location)
    assert g.ok
Example #4
0
def test_w3w_reverse():
    g = geocoder.w3w(ottawa, method='reverse')
    assert g.ok
Example #5
0
def test_w3w():
    g = geocoder.w3w(words)
    assert g.ok
Example #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
Example #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