Skip to content

Commit

Permalink
test: run content_libraries runtime tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kdmccormick committed Sep 24, 2024
1 parent 75d111a commit 20ada9f
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"""
import json
from gettext import GNUTranslations
from django.test import TestCase

from completion.test_utils import CompletionWaffleTestMixin
from django.db import connections, transaction
Expand Down Expand Up @@ -59,7 +60,7 @@ def setUp(self):
)


class ContentLibraryRuntimeTests(ContentLibraryContentTestMixin):
class ContentLibraryRuntimeTests(ContentLibraryContentTestMixin, TestCase):
"""
Basic tests of the Learning-Core-based XBlock runtime using XBlocks in a
content library.
Expand Down Expand Up @@ -176,7 +177,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,
Expand Down Expand Up @@ -479,7 +480,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.
Expand Down

0 comments on commit 20ada9f

Please sign in to comment.