pylint fixes
This commit is contained in:
@@ -13,7 +13,6 @@ from xmodule.modulestore.tests.factories import LibraryFactory, ItemFactory, che
|
||||
from xmodule.modulestore.tests.utils import MixedSplitTestCase
|
||||
|
||||
|
||||
|
||||
@ddt.ddt
|
||||
class TestLibraries(MixedSplitTestCase):
|
||||
"""
|
||||
|
||||
@@ -24,7 +24,7 @@ from xmodule.tests import get_test_system
|
||||
from xmodule.validation import StudioValidationMessage
|
||||
|
||||
|
||||
dummy_render = lambda block, _: Fragment(block.data)
|
||||
dummy_render = lambda block, _: Fragment(block.data) # pylint: disable=invalid-name
|
||||
|
||||
|
||||
class BaseTestLibraryContainer(MixedSplitTestCase):
|
||||
|
||||
@@ -11,7 +11,7 @@ from xmodule.x_module import AUTHOR_VIEW
|
||||
from xmodule.modulestore.tests.factories import LibraryFactory, ItemFactory
|
||||
from xmodule.modulestore.tests.utils import MixedSplitTestCase
|
||||
|
||||
dummy_render = lambda block, _: Fragment(block.data)
|
||||
dummy_render = lambda block, _: Fragment(block.data) # pylint: disable=invalid-name
|
||||
|
||||
|
||||
@patch('xmodule.modulestore.split_mongo.caching_descriptor_system.CachingDescriptorSystem.render', VanillaRuntime.render)
|
||||
@@ -62,7 +62,7 @@ class TestLibraryRoot(MixedSplitTestCase):
|
||||
user_id=self.user_id,
|
||||
publish_item=False,
|
||||
modulestore=self.store,
|
||||
data="HtmlBlock"+str(i)
|
||||
data="HtmlBlock" + str(i)
|
||||
)
|
||||
for i in range(5)
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user