From e3fb243782f97adacfde60340a75f7f4a4bde3f7 Mon Sep 17 00:00:00 2001 From: soergeld Date: Mon, 13 Jul 2020 22:44:49 +0200 Subject: [PATCH] parentwork force test doesn't work --- test/test_parentwork.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/test_parentwork.py b/test/test_parentwork.py index e7c9d43ba..da18219d5 100644 --- a/test/test_parentwork.py +++ b/test/test_parentwork.py @@ -156,17 +156,16 @@ class ParentWorkMockTest(unittest.TestCase, TestHelper): self.assertEqual(item['mb_parentworkid'], '3') def test_force(self): - self.config['parentwork']['force'] = True item = Item(path='/file', mb_workid='1', mb_parentworkid=u'XXX') item.add(self.lib) - self.run_command('parentwork') + self.run_command('parentwork -f') item.load() self.assertEqual(item['mb_parentworkid'], '3') def test_no_force(self): - self.config['parentwork']['force'] = True + self.config['parentwork']['force'] = False item = Item(path='/file', mb_workid='1', mb_parentworkid=u'XXX') item.add(self.lib)