Commit 571b42f5 authored by Phyks (Lucas Verney)'s avatar Phyks (Lucas Verney)
Browse files

Check that postal codes are strings in config

parent 4a65f524
Pipeline #33882 failed with stage
in 23 minutes and 1 second
......@@ -163,6 +163,7 @@ def validate_config(config, check_with_data):
assert "postal_codes" in constraint
assert constraint["postal_codes"]
assert all(isinstance(x, str) for x in constraint["postal_codes"])
if check_with_data:
opendata_postal_codes = [
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment