diff --git a/stations.csv b/stations.csv index ebd90891..7aca3703 100644 --- a/stations.csv +++ b/stations.csv @@ -64044,3 +64044,4 @@ id;name;slug;uic;uic8_sncf;latitude;longitude;parent_station_id;country;time_zon 68185;Campitello di Fassa;campitello-di-fassa;;;46.477028;11.74075;;IT;Europe/Rome;t;f;f;t;t;f;;;f;;f;;f;;f;ITCDA;t;;f;;f;;f;;f;;f;;f;;;;f;;f;;f;;f;;f;;f;f;;;;;;;;;;;;;;;;;;;;urn:trainline:public:nloc:csv68185; 68186;Carisolo;carisolo;;;46.16902;10.7637;;IT;Europe/Rome;t;f;f;t;t;f;;;f;;f;;f;;f;ITCIO;t;;f;;f;;f;;f;;f;;f;;;;f;;f;;f;;f;;f;;f;f;;;;;;;;;;;;;;;;;;;;urn:trainline:public:nloc:csv68186; 68187;Ancenis Bis;ancenis-bis;8774417;87744177;47.36930;-1.17780;2186;FR;Europe/Paris;f;f;f;f;f;f;FRKGW;;t;;f;;f;;f;;f;;f;;f;;f;;f;;f;;f;;;;f;;f;;f;;f;;f;;f;f;;;;;;;;;;;;;;;;;;;;urn:trainline:public:nloc:csv68187; +68188;Le Bouscat Sainte-Germaine;le-bouscat-sainte-germaine;;87738096;44.87090;-0.61400;;FR;Europe/Paris;f;f;f;t;t;f;FRKTO;;t;;f;;f;;f;;f;;f;;f;;f;;f;;f;;f;;;;f;;f;;f;;f;;f;;f;f;;;;;;;;;;;;;;;;;;;;urn:trainline:public:nloc:csv68188; diff --git a/test_data.rb b/test_data.rb index 74c50411..b82b8af0 100644 --- a/test_data.rb +++ b/test_data.rb @@ -383,7 +383,7 @@ def test_uic8_sncf STATIONS.each do |row| uic8_sncf = row["uic8_sncf"] uic = row["uic"] - if !uic8_sncf.nil? && !Constants::UIC8_WHITELIST_IDS.include?(row["id"]) + if uic.present? && !uic8_sncf.nil? && !Constants::UIC8_WHITELIST_IDS.include?(row["id"]) assert uic == uic8_sncf[0...-1], "Station #{row["name"]} (#{row["id"]}) has an incoherent uic8_sncf code" end end