geoip: update test data following change in geoip.ubuntu.com/lookup
After a recent update of geoip.ubuntu.com/lookup, the value of the <CountryCode3> tag is now hardcoded to "Unknown". The <AreaCode> tag also has a slightly different meaning but this should not affect Subiquity in any way. Update the test data accordingly. Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
This commit is contained in:
parent
f200888e70
commit
7b3448a646
|
@ -53,7 +53,7 @@ class DryRunGeoIPStrategy(GeoIPStrategy):
|
|||
<Ip>255.255.255.255</Ip>
|
||||
<Status>OK</Status>
|
||||
<CountryCode>FR</CountryCode>
|
||||
<CountryCode3>FRA</CountryCode3>
|
||||
<CountryCode3>Unknown</CountryCode3>
|
||||
<CountryName>France</CountryName>
|
||||
<RegionCode>A8</RegionCode>
|
||||
<RegionName>Ile-de-France</RegionName>
|
||||
|
@ -61,7 +61,7 @@ class DryRunGeoIPStrategy(GeoIPStrategy):
|
|||
<ZipPostalCode>75013</ZipPostalCode>
|
||||
<Latitude>48.8151</Latitude>
|
||||
<Longitude>2.2182</Longitude>
|
||||
<AreaCode>0</AreaCode>
|
||||
<AreaCode>None</AreaCode>
|
||||
<TimeZone>Europe/Paris</TimeZone>
|
||||
</Response>
|
||||
"""
|
||||
|
|
|
@ -25,7 +25,7 @@ xml = """
|
|||
<Ip>1.2.3.4</Ip>
|
||||
<Status>OK</Status>
|
||||
<CountryCode>US</CountryCode>
|
||||
<CountryCode3>USA</CountryCode3>
|
||||
<CountryCode3>Unknown</CountryCode3>
|
||||
<CountryName>United States</CountryName>
|
||||
<RegionCode>CA</RegionCode>
|
||||
<RegionName>California</RegionName>
|
||||
|
|
Loading…
Reference in New Issue