From 08c1344639d0b1bee5e9864d49d5c2983cc00847 Mon Sep 17 00:00:00 2001 From: soergeld Date: Mon, 13 Jul 2020 22:57:05 +0200 Subject: [PATCH] correct test for parentwork --- 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 1309cd363..f595e7770 100644 --- a/test/test_parentwork.py +++ b/test/test_parentwork.py @@ -164,7 +164,7 @@ class ParentWorkMockTest(unittest.TestCase, TestHelper): def test_force(self): self.config['parentwork']['force'] = True item = Item(path='/file', mb_workid='1', mb_parentworkid=u'XXX', - parentwork_workid_current='1') + parentwork_workid_current='1', mb_parentwork='parentwork') item.add(self.lib) self.run_command('parentwork') @@ -175,7 +175,7 @@ class ParentWorkMockTest(unittest.TestCase, TestHelper): def test_no_force(self): self.config['parentwork']['force'] = False item = Item(path='/file', mb_workid='1', mb_parentworkid=u'XXX', - parentwork_workid_current='1') + parentwork_workid_current='1', mb_parentwork='parentwork') item.add(self.lib) self.run_command('parentwork')