diff --git a/ckanext/dcatapchharvest/tests/fixtures/1901.xml b/ckanext/dcatapchharvest/tests/fixtures/1901.xml index d554c28..bc573b8 100644 --- a/ckanext/dcatapchharvest/tests/fixtures/1901.xml +++ b/ckanext/dcatapchharvest/tests/fixtures/1901.xml @@ -55,5 +55,11 @@ basi-statistiche-e-presentazioni-generali Annuaire statistique de la Suisse 1901 statistische-grundlagen-und-ubersichten + + + + + + diff --git a/ckanext/dcatapchharvest/tests/test_swiss_dcatap_profile_parse.py b/ckanext/dcatapchharvest/tests/test_swiss_dcatap_profile_parse.py index 67ec814..3eeaf48 100644 --- a/ckanext/dcatapchharvest/tests/test_swiss_dcatap_profile_parse.py +++ b/ckanext/dcatapchharvest/tests/test_swiss_dcatap_profile_parse.py @@ -103,6 +103,10 @@ def test_dataset_all_fields(self): # Lists eq_(sorted(dataset['language']), [u'de', u'fr']) eq_(sorted(dataset['groups']), [{'name': u'statistical-basis'}]) + eq_( + sorted(dataset['documentation']), + ['https://example.com/documentation-dataset-1', 'https://example.com/documentation-dataset-2'] + ) # Dataset URI eq_(extras['uri'], u'https://opendata.swiss/dataset/7451e012-64b2-4bbc-af20-a0e2bc61b585')