Fix check_taginfo.py test for maxspeed tag in lower case

This commit is contained in:
Frédéric Rodrigo 2017-09-30 20:57:39 +02:00 committed by Michael Krasnyk
parent f9fb0b84a8
commit b3b6e16940

View File

@ -19,6 +19,8 @@ with open(taginfo_path) as f:
valid_strings = [t["key"] for t in taginfo["tags"]] valid_strings = [t["key"] for t in taginfo["tags"]]
valid_strings += [t["value"] for t in taginfo["tags"] if "value" in t] valid_strings += [t["value"] for t in taginfo["tags"] if "value" in t]
valid_strings += [t["value"].lower() for t in taginfo["tags"] if "value" in t] # lower is for max speed
valid_strings = set(valid_strings)
string_regxp = re.compile("\"([\d\w\_:]+)\"") string_regxp = re.compile("\"([\d\w\_:]+)\"")