From d5ca06dec75410ee9e068158a1f35aa01d89dc7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Redrejo?= Date: Thu, 7 Sep 2023 19:10:33 +0200 Subject: [PATCH 1/2] Missing comma --- kolibri_sync_extras_plugin/sync/operations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kolibri_sync_extras_plugin/sync/operations.py b/kolibri_sync_extras_plugin/sync/operations.py index fe011e5..af497c0 100644 --- a/kolibri_sync_extras_plugin/sync/operations.py +++ b/kolibri_sync_extras_plugin/sync/operations.py @@ -79,7 +79,7 @@ def _get_or_queue_job(self, context, target_stage): job = Job( call_command, - args=("sync_proceed_to"), + args=("sync_proceed_to",), kwargs={ "id": context.transfer_session.id, "target_stage": target_stage, From ce1a7caacfc3049dab64fca7a763eab26790ffa2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Redrejo?= Date: Thu, 7 Sep 2023 19:13:58 +0200 Subject: [PATCH 2/2] fix test --- test/sync/test_operations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/sync/test_operations.py b/test/sync/test_operations.py index af7313f..f469268 100644 --- a/test/sync/test_operations.py +++ b/test/sync/test_operations.py @@ -69,7 +69,7 @@ def test_get_or_queue_job__new( self.assertEqual( job.kwargs, { - "args": "sync_proceed_to", + "args": ("sync_proceed_to",), "kwargs": { "id": "def456", "target_stage": "other",