From 6a2af3ebdc6a1ffc2b85101d2a3f4d7ff676486e Mon Sep 17 00:00:00 2001 From: "E. Kolpakov" Date: Thu, 8 Jan 2015 21:05:54 +0300 Subject: [PATCH] pylint fixes --- .../lib/xmodule/xmodule/modulestore/tests/test_libraries.py | 1 - common/lib/xmodule/xmodule/tests/test_library_content.py | 2 +- common/lib/xmodule/xmodule/tests/test_library_root.py | 4 ++-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/common/lib/xmodule/xmodule/modulestore/tests/test_libraries.py b/common/lib/xmodule/xmodule/modulestore/tests/test_libraries.py index 03ee84ae35..7381692239 100644 --- a/common/lib/xmodule/xmodule/modulestore/tests/test_libraries.py +++ b/common/lib/xmodule/xmodule/modulestore/tests/test_libraries.py @@ -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): """ diff --git a/common/lib/xmodule/xmodule/tests/test_library_content.py b/common/lib/xmodule/xmodule/tests/test_library_content.py index 50046ba9e0..f8d45f640d 100644 --- a/common/lib/xmodule/xmodule/tests/test_library_content.py +++ b/common/lib/xmodule/xmodule/tests/test_library_content.py @@ -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): diff --git a/common/lib/xmodule/xmodule/tests/test_library_root.py b/common/lib/xmodule/xmodule/tests/test_library_root.py index a3ea602496..8774e7bb32 100644 --- a/common/lib/xmodule/xmodule/tests/test_library_root.py +++ b/common/lib/xmodule/xmodule/tests/test_library_root.py @@ -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) ]