diff --git a/tests/contrib.data_sources.interlis_2_3/models/test_theme.py b/tests/contrib.data_sources.interlis_2_3/models/test_theme.py index 5555ba61c3..e354bd585d 100644 --- a/tests/contrib.data_sources.interlis_2_3/models/test_theme.py +++ b/tests/contrib.data_sources.interlis_2_3/models/test_theme.py @@ -16,7 +16,7 @@ def test_model(): localised_blob = 'blob' localised_uri = 'https://www.cadastre.ch/fr' multilingual_blob = {'fr': 'blob', 'de': 'blubb, blubb'} - multilingual_uri = {'de': 'https://www.cadastre.ch/de/home.html', 'fr': 'https://www.cadastre.ch/fr/hone.html'} + multilingual_uri = {'de': 'https://www.cadastre.ch/de/home.html', 'fr': 'https://www.cadastre.ch/fr/home.html'} base = '???' db_connection = 'postgresql://postgres:postgres@123.123.123.123:5432/oereb_test_db' schema_name = 'my_schema' @@ -32,7 +32,7 @@ def test_model(): assert(new_model.ViewService == 'https://www.example.com') assert(new_model.LegendEntry == 1) assert(isinstance(new_model.PublicLawRestriction, list)) - assert(new_model.PublicLawRestriction[0] == {'id': 1, 'type_code': '5b'}) + assert(new_model.PublicLawRestriction[1] == {'id': 2, 'type_code': '3a'}) assert(new_model.Geometry == 'geom') assert(new_model.PublicLawRestrictionDocument == 'a') assert(new_model.LocalisedBlob == 'blob')