Skip to content

Commit

Permalink
Update to changes in skosprovider 0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
koenedaele committed Aug 24, 2015
1 parent fb211c0 commit bb7e9b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pyramid_skosprovider/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ def get_conceptscheme(self):
'label': provider.concept_scheme.label(language).label if provider.concept_scheme.label(language) else None,
'subject': provider.metadata['subject'] if provider.metadata['subject'] else [],
'labels': provider.concept_scheme.labels,
'notes': provider.concept_scheme.notes
'notes': provider.concept_scheme.notes,
'languages': provider.concept_scheme.languages
}

@view_config(route_name='skosprovider.conceptscheme.tc', request_method='GET')
Expand Down
3 changes: 2 additions & 1 deletion tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@ def test_get_conceptscheme(self):
Label('Different types of trees', 'prefLabel', 'en'),
Label('Verschillende soorten bomen', 'prefLabel', 'nl')
],
'notes': []
'notes': [],
'languages': []
},
cs
)
Expand Down

0 comments on commit bb7e9b7

Please sign in to comment.