Skip to content

Commit

Permalink
Fix import_export tests
Browse files Browse the repository at this point in the history
  • Loading branch information
danigm committed Jun 6, 2022
1 parent 4716380 commit 81f87a6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion kolibri/core/content/test/test_import_export.py
Expand Up @@ -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,
)
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit 81f87a6

Please sign in to comment.