Skip to content

Commit

Permalink
Fix tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
koenedaele committed Jun 24, 2020
1 parent 5a2ea78 commit 96d45d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_import_scripts.py
Expand Up @@ -47,7 +47,7 @@ def _check_trees(self, conceptscheme_label):
sql_prov = SQLAlchemyProvider({'id': 'TREES', 'conceptscheme_id': 1}, self.session)
dump = dict_dumper(sql_prov)

self.assertEqual(conceptscheme_label, sql_prov.concept_scheme.labels[0].label)
self.assertEqual(conceptscheme_label, sql_prov.concept_scheme.label('en').label)
obj_1 = [item for item in dump if item['uri'] == 'http://id.trees.org/2'][0]
self.assertEqual(obj_1['broader'], [])
self.assertEqual(obj_1['id'], 2)
Expand Down

0 comments on commit 96d45d1

Please sign in to comment.