Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
6a2af3eb
Commit
6a2af3eb
authored
Jan 08, 2015
by
E. Kolpakov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pylint fixes
parent
1a387d82
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
common/lib/xmodule/xmodule/modulestore/tests/test_libraries.py
+0
-1
common/lib/xmodule/xmodule/tests/test_library_content.py
+1
-1
common/lib/xmodule/xmodule/tests/test_library_root.py
+2
-2
No files found.
common/lib/xmodule/xmodule/modulestore/tests/test_libraries.py
View file @
6a2af3eb
...
...
@@ -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
):
"""
...
...
common/lib/xmodule/xmodule/tests/test_library_content.py
View file @
6a2af3eb
...
...
@@ -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
):
...
...
common/lib/xmodule/xmodule/tests/test_library_root.py
View file @
6a2af3eb
...
...
@@ -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
)
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment