From: Tomas Babej Date: Sun, 9 Aug 2015 00:31:28 +0000 (+0200) Subject: tests: Replace warrior-specific keyword arguments X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/commitdiff_plain/45feb577b06dd85e0827de3e6d98a40b996ab020?ds=inline tests: Replace warrior-specific keyword arguments --- diff --git a/tasklib/tests.py b/tasklib/tests.py index 0dee2d2..bf4fb0c 100644 --- a/tasklib/tests.py +++ b/tasklib/tests.py @@ -775,13 +775,13 @@ class TaskFromHookTest(TasklibTest): '"description":"test task"}') def test_setting_up_from_add_hook_input(self): - t = Task.from_input(input_file=self.input_add_data, warrior=self.tw) + t = Task.from_input(input_file=self.input_add_data, backend=self.tw) self.assertEqual(t['description'], "Buy some milk") self.assertEqual(t.pending, True) def test_setting_up_from_modified_hook_input(self): t = Task.from_input(input_file=self.input_modify_data, modify=True, - warrior=self.tw) + backend=self.tw) self.assertEqual(t['description'], "Buy some milk finally") self.assertEqual(t.pending, False) self.assertEqual(t.completed, True)