Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
1-dimensional entity names now get prepended by '__' upon import.

Re #2421
  • Loading branch information
soininen committed Nov 20, 2023
1 parent 4f97edb commit 7f2c364
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_spine_db_fetcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def test_fetch_relationships(self):
self._import_data(entity_classes=(("oc",), ("rc", ("oc",))), entities=(("oc", "obj"), ("rc", None, ("obj",))))
item = {
'id': -2,
'name': 'obj',
'name': 'obj__',
'class_id': -2,
'element_id_list': (-1,),
'description': None,
Expand Down

0 comments on commit 7f2c364

Please sign in to comment.