Remove lms pytest shards
This commit is contained in:
@@ -27,7 +27,6 @@ class TestGetBlocks(SharedModuleStoreTestCase):
|
||||
"""
|
||||
Tests for the get_blocks function
|
||||
"""
|
||||
shard = 4
|
||||
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
@@ -117,7 +116,6 @@ class TestGetBlocksMobileHack(SharedModuleStoreTestCase):
|
||||
"""
|
||||
Tests that requests from the mobile app don't receive empty containers.
|
||||
"""
|
||||
shard = 4
|
||||
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
@@ -165,7 +163,6 @@ class TestGetBlocksQueryCountsBase(SharedModuleStoreTestCase):
|
||||
"""
|
||||
Base for the get_blocks tests.
|
||||
"""
|
||||
shard = 4
|
||||
|
||||
ENABLED_SIGNALS = ['course_published']
|
||||
|
||||
@@ -198,7 +195,6 @@ class TestGetBlocksQueryCounts(TestGetBlocksQueryCountsBase):
|
||||
"""
|
||||
Tests query counts for the get_blocks function.
|
||||
"""
|
||||
shard = 4
|
||||
|
||||
@ddt.data(
|
||||
*product(
|
||||
@@ -247,7 +243,6 @@ class TestQueryCountsWithIndividualOverrideProvider(TestGetBlocksQueryCountsBase
|
||||
"""
|
||||
Tests query counts for the get_blocks function when IndividualStudentOverrideProvider is set.
|
||||
"""
|
||||
shard = 4
|
||||
|
||||
@ddt.data(
|
||||
*product(
|
||||
|
||||
@@ -22,7 +22,6 @@ class TestBlockListGetForm(FormTestMixin, SharedModuleStoreTestCase):
|
||||
"""
|
||||
Tests for BlockListGetForm
|
||||
"""
|
||||
shard = 4
|
||||
|
||||
FORM_CLASS = BlockListGetForm
|
||||
|
||||
|
||||
@@ -20,7 +20,6 @@ class TestBlockSerializerBase(SharedModuleStoreTestCase):
|
||||
"""
|
||||
Base class for testing BlockSerializer and BlockDictSerializer
|
||||
"""
|
||||
shard = 4
|
||||
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
@@ -153,7 +152,6 @@ class TestBlockSerializer(TestBlockSerializerBase):
|
||||
"""
|
||||
Tests the BlockSerializer class, which returns a list of blocks.
|
||||
"""
|
||||
shard = 4
|
||||
|
||||
def create_serializer(self, context=None):
|
||||
"""
|
||||
@@ -195,7 +193,6 @@ class TestBlockDictSerializer(TestBlockSerializerBase):
|
||||
"""
|
||||
Tests the BlockDictSerializer class, which returns a dict of blocks key-ed by its block_key.
|
||||
"""
|
||||
shard = 4
|
||||
|
||||
def create_serializer(self, context=None):
|
||||
"""
|
||||
|
||||
@@ -21,7 +21,6 @@ class TestBlocksView(SharedModuleStoreTestCase):
|
||||
"""
|
||||
Test class for BlocksView
|
||||
"""
|
||||
shard = 4
|
||||
requested_fields = ['graded', 'format', 'student_view_multi_device', 'children', 'not_a_field', 'due']
|
||||
BLOCK_TYPES_WITH_STUDENT_VIEW_DATA = ['video', 'discussion', 'html']
|
||||
|
||||
@@ -251,7 +250,6 @@ class TestBlocksInCourseView(TestBlocksView):
|
||||
"""
|
||||
Test class for BlocksInCourseView
|
||||
"""
|
||||
shard = 4
|
||||
|
||||
def setUp(self):
|
||||
super(TestBlocksInCourseView, self).setUp()
|
||||
|
||||
Reference in New Issue
Block a user