From ccd44bc57c5f19b3d294a22d824da6b94592b4ac Mon Sep 17 00:00:00 2001 From: soergeld Date: Mon, 13 Jul 2020 22:31:51 +0200 Subject: [PATCH] complete mocked parentworks --- test/test_parentwork.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/test_parentwork.py b/test/test_parentwork.py index c5a5d250b..63ff4f376 100644 --- a/test/test_parentwork.py +++ b/test/test_parentwork.py @@ -27,6 +27,7 @@ from beets.library import Item from beetsplug import parentwork work = {'work': {'id': '1', + 'title': 'work', 'work-relation-list': [{'type': 'parts', 'direction': 'backward', 'work': {'id': '2'}}], @@ -36,6 +37,7 @@ work = {'work': {'id': '1', 'sort-name': 'composer, random'}}]}} dp_work = {'work': {'id': '2', + 'title': 'directparentwork', 'work-relation-list': [{'type': 'parts', 'direction': 'backward', 'work': {'id': '3'}}], @@ -46,6 +48,7 @@ dp_work = {'work': {'id': '2', 'composer, random' }}]}} p_work = {'work': {'id': '3', + 'title': 'parentwork', 'artist-relation-list': [{'type': 'composer', 'artist': {'name': 'random composer',