def test_new_way(config):
    
    O.init_osm_factory(config)
    wayid = '42'
    w = O.new_osm_element(C.WAY, wayid)

    # Check the "id", NODES and REFERENCES attributes.
    assert w.id == str(wayid)
    assert w[C.REFERENCES] == set()
    assert w[C.NODES] == set()
Evaluate Pepa templates
dataset/ETHPy150Open MapQuest/mapquest-osm-server/src/python/tests/test_osmelement.py/test_new_way--crossover with--dataset/ETHPy150Open saltstack/salt/salt/pillar/pepa.py/ext_pillar