rdm parent mapping #629
push.yaml
on: push
build12
/
build
5m 39s
publish
0s
Annotations
6 errors
build12 / build:
tests/test_owner_field.py#L87
test_owners
AssertionError: assert 0 == 1
+ where 0 = len([])
+ where [] = <bound method OwnerRelationManager.to_dict of <oarepo_runtime.records.systemfields.owner.OwnerRelationManager object at 0x7fdbfc6560c0>>()
+ where <bound method OwnerRelationManager.to_dict of <oarepo_runtime.records.systemfields.owner.OwnerRelationManager object at 0x7fdbfc6560c0>> = <oarepo_runtime.records.systemfields.owner.OwnerRelationManager object at 0x7fdbfc6560c0>.to_dict
+ where <oarepo_runtime.records.systemfields.owner.OwnerRelationManager object at 0x7fdbfc6560c0> = {'pid': {'pk': 1, 'pid_type': 'recid', 'status': 'N', 'obj_type': 'rec'}, 'id': 's2197-rn766', 'owners': []}.owners
+ where {'pid': {'pk': 1, 'pid_type': 'recid', 'status': 'N', 'obj_type': 'rec'}, 'id': 's2197-rn766', 'owners': []} = {'$schema': 'local://thesis-1.0.0.json', 'pid': {'pk': 2, 'pid_type': 'thesis', 'status': 'N', 'obj_type': 'rec'}, 'id': 'enfrz-g8r67', 'files': {'enabled': True}, 'metadata': {'title': 'blah'}}.parent
+ where {'$schema': 'local://thesis-1.0.0.json', 'pid': {'pk': 2, 'pid_type': 'thesis', 'status': 'N', 'obj_type': 'rec'}, 'id': 'enfrz-g8r67', 'files': {'enabled': True}, 'metadata': {'title': 'blah'}} = <thesis.services.records.results.ThesisRecordItem object at 0x7fdbfc6f4770>._obj
|
build12 / build:
tests/test_owner_field.py#L137
test_permissions
AttributeError: 'ThesisParentRecord' object has no attribute 'access'
|
build12 / build:
tests/test_owner_field.py#L209
test_search_drafts
assert 0 == 2
+ where 0 = len([])
|
build12 / build:
tests/test_owner_field.py#L220
test_drafts_published_mixed
AssertionError: assert set() == {'8p922-63p88', '97gf9-a8e09'}
Extra items in the right set:
'97gf9-a8e09'
'8p922-63p88'
Full diff:
- {'97gf9-a8e09', '8p922-63p88'}
+ set()
|
build12 / build:
tests/test_owner_field.py#L226
test_drafts_published_mixed_with_permissions
AssertionError: assert set() == {'684m8-vd380', 'y8bxa-n2860'}
Extra items in the right set:
'y8bxa-n2860'
'684m8-vd380'
Full diff:
- {'y8bxa-n2860', '684m8-vd380'}
+ set()
|
build12 / build
Process completed with exit code 1.
|