Commit 6a2af3eb by E. Kolpakov

pylint fixes

parent 1a387d82
......@@ -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)
]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment