From 81f87a6b6e699689464194633b1518b25c90e2b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa=20Moreno?= Date: Mon, 6 Jun 2022 12:29:41 +0200 Subject: [PATCH] Fix import_export tests --- kolibri/core/content/test/test_import_export.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kolibri/core/content/test/test_import_export.py b/kolibri/core/content/test/test_import_export.py index 85129db3fe6..54dae24d969 100644 --- a/kolibri/core/content/test/test_import_export.py +++ b/kolibri/core/content/test/test_import_export.py @@ -21,6 +21,7 @@ from kolibri.core.content.models import ContentNode from kolibri.core.content.models import File from kolibri.core.content.models import LocalFile +from kolibri.core.content.utils import paths from kolibri.core.content.utils.content_types_tools import ( renderable_contentnodes_q_filter, ) @@ -209,7 +210,8 @@ def test_remote_import_full_import( call_command("importchannel", "network", "197934f144305350b5820c7c4dd8e194") is_cancelled_mock.assert_called() import_channel_mock.assert_called_with( - "197934f144305350b5820c7c4dd8e194", cancel_check=is_cancelled_mock + "197934f144305350b5820c7c4dd8e194", cancel_check=is_cancelled_mock, + contentfolder=paths.get_content_dir_path() ) @patch(