From ef08fbee0cbb087e27aa03b3a22b2a5b6ca4943c Mon Sep 17 00:00:00 2001 From: soergeld Date: Mon, 13 Jul 2020 23:01:18 +0200 Subject: [PATCH] correct test for parentwork --- test/test_parentwork.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/test_parentwork.py b/test/test_parentwork.py index f595e7770..98b07322d 100644 --- a/test/test_parentwork.py +++ b/test/test_parentwork.py @@ -101,7 +101,7 @@ class ParentWorkTest(unittest.TestCase, TestHelper): mb_workid=u'e27bda6e-531e-36d3-9cd7-b8ebc18e8c53', mb_parentworkid=u'XXX', parentwork_workid_current=u'e27bda6e-531e-36d3-9cd7-\ - b8ebc18e8c53') + b8ebc18e8c53', parentwork='whatever') item.add(self.lib) self.run_command('parentwork') @@ -118,7 +118,7 @@ class ParentWorkTest(unittest.TestCase, TestHelper): item = Item(path='/file', mb_workid=u'e27bda6e-531e-36d3-9cd7-\ b8ebc18e8c53', mb_parentworkid=u'XXX', parentwork_workid_current=u'e27bda6e-531e-36d3-9cd7-\ - b8ebc18e8c53') + b8ebc18e8c53', parentwork='whatever') item.add(self.lib) self.run_command('parentwork') @@ -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', mb_parentwork='parentwork') + parentwork_workid_current='1', 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', mb_parentwork='parentwork') + parentwork_workid_current='1', parentwork='parentwork') item.add(self.lib) self.run_command('parentwork')