def test_datastore_direct_fetch(datastore):
    _direct_key = 'Gs0000'
    _direct_val = O.new_osm_element(C.GEODOC, _direct_key[1:])
    insert_key(_direct_key, O.encode_json(_direct_val))

    v = datastore.fetch(C.GEODOC, _direct_key[1:])
    assert v == _direct_val
Verify that directly fetchable elements can be read.
dataset/ETHPy150Open MapQuest/mapquest-osm-server/src/python/tests/test_dsmembase.py/test_datastore_direct_fetch