From c298ce6e6a8f5aecb3f3571310dd1d261abf3d34 Mon Sep 17 00:00:00 2001 From: "Kyle D. McCormick" Date: Tue, 24 Sep 2024 13:52:24 -0400 Subject: [PATCH] test: run content_libraries runtime tests --- .../core/djangoapps/content_libraries/tests/test_runtime.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openedx/core/djangoapps/content_libraries/tests/test_runtime.py b/openedx/core/djangoapps/content_libraries/tests/test_runtime.py index f79808a7ec9a..89f27dc3a4e3 100644 --- a/openedx/core/djangoapps/content_libraries/tests/test_runtime.py +++ b/openedx/core/djangoapps/content_libraries/tests/test_runtime.py @@ -141,7 +141,7 @@ def test_html_round_trip(self): assert olx_3 == olx_2 == canonical_olx -class ContentLibraryRuntimeTests(ContentLibraryContentTestMixin): +class ContentLibraryRuntimeTests(ContentLibraryContentTestMixin, TestCase): """ Basic tests of the Learning-Core-based XBlock runtime using XBlocks in a content library. @@ -258,7 +258,7 @@ def test_xblock_fields(self): # We can remove the line below to enable this in Studio once we implement a session-backed # field data store which we can use for both studio users and anonymous users @skip_unless_lms -class ContentLibraryXBlockUserStateTest(ContentLibraryContentTestMixin): +class ContentLibraryXBlockUserStateTest(ContentLibraryContentTestMixin, TestCase): """ Test that the Blockstore-based XBlock runtime can store and retrieve student state for XBlocks when learners access blocks directly in a library context, @@ -561,7 +561,7 @@ def test_i18n(self): @skip_unless_lms # No completion tracking in Studio -class ContentLibraryXBlockCompletionTest(ContentLibraryContentTestMixin, CompletionWaffleTestMixin): +class ContentLibraryXBlockCompletionTest(ContentLibraryContentTestMixin, CompletionWaffleTestMixin, TestCase): """ Test that the Blockstore-based XBlocks can track their completion status using the completion library.