def test_new_node(config):

    O.init_osm_factory(config)

    nodeid = '42'
    n = O.new_osm_element(C.NODE, nodeid)

    # Check the 'id' field.
    assert n.id == str(nodeid)
    # Check that C.REFERENCES field exists, and is an empty set.
    assert n[C.REFERENCES] == set()
Find a file with name 'filename' located in the sample directory.
dataset/ETHPy150Open MapQuest/mapquest-osm-server/src/python/tests/test_osmelement.py/test_new_node--crossover with--dataset/ETHPy150Open openstack/neutron/neutron/tests/common/helpers.py/find_sample_file