From f87f271484845a6d013dd2e83b0c8be179c75a1f Mon Sep 17 00:00:00 2001 From: soergeld Date: Mon, 13 Jul 2020 22:22:16 +0200 Subject: [PATCH] correct mock results of get_work_by_id --- test/test_parentwork.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_parentwork.py b/test/test_parentwork.py index fb28121e1..2a01473ea 100644 --- a/test/test_parentwork.py +++ b/test/test_parentwork.py @@ -29,7 +29,7 @@ from beetsplug import parentwork work = {'work': {'id': '1', 'work-relation-list': [{'type': 'parts', 'direction': 'backwards', - 'id': '2'}], + 'work': {'id': '2'}}], 'artist-relation-list': [{'type': 'composer', 'artist': {'name': 'random composer', @@ -38,7 +38,7 @@ work = {'work': {'id': '1', dp_work = {'work': {'id': '2', 'work-relation-list': [{'type': 'parts', 'direction': 'backwards', - 'id': '3'}], + 'work': {'id': '3'}}], 'artist-relation-list': [{'type': 'composer', 'artist': {'name': 'random composer',