Skip to content

Commit

Permalink
test: run ./xmodule/ LibraryContentTests only in CMS
Browse files Browse the repository at this point in the history
  • Loading branch information
kdmccormick committed Oct 18, 2023
1 parent e25e2a3 commit f1370d0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion xmodule/tests/test_library_content.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Basic unit tests for LibraryContentBlock
unit tests for LibraryContentBlock
Higher-level tests are in `cms/djangoapps/contentstore/tests/test_libraries.py`.
"""
Expand All @@ -15,6 +15,7 @@
from web_fragments.fragment import Fragment
from xblock.runtime import Runtime as VanillaRuntime

from openedx.core.djangolib.testing.utils import skip_unless_cms
from xmodule.library_content_block import ANY_CAPA_TYPE_VALUE, LibraryContentBlock
from xmodule.library_tools import LibraryToolsService
from xmodule.modulestore import ModuleStoreEnum
Expand All @@ -31,6 +32,7 @@
dummy_render = lambda block, _: Fragment(block.data) # pylint: disable=invalid-name


@skip_unless_cms
class LibraryContentTest(MixedSplitTestCase):
"""
Base class for tests of LibraryContentBlock (library_content_block.py)
Expand Down

0 comments on commit f1370d0

Please sign in to comment.