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
d14c39a1
Commit
d14c39a1
authored
Nov 30, 2014
by
Sarina Canelake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix exposed pylint violations
parent
f2626e68
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
22 additions
and
0 deletions
+22
-0
cms/djangoapps/contentstore/utils.py
+3
-0
cms/envs/debug_upload.py
+4
-0
common/lib/xmodule/xmodule/modulestore/tests/test_modulestore.py
+5
-0
common/lib/xmodule/xmodule/modulestore/tests/test_mongo.py
+3
-0
common/lib/xmodule/xmodule/tests/test_stringify.py
+3
-0
lms/djangoapps/django_comment_client/tests.py
+3
-0
lms/djangoapps/django_comment_client/tests/test_utils.py
+1
-0
No files found.
cms/djangoapps/contentstore/utils.py
View file @
d14c39a1
"""
Common utility functions useful throughout the contentstore
"""
# pylint: disable=no-member
import
copy
...
...
cms/envs/debug_upload.py
View file @
d14c39a1
"""
A new cms ENV configuration to use a slow upload file handler to help test
progress bars in uploads
"""
# pylint: disable=W0614, W0401
from
.dev
import
*
...
...
common/lib/xmodule/xmodule/modulestore/tests/test_modulestore.py
View file @
d14c39a1
"""
Defines a test function, check_has_course_method, useful in various modulestore tests.
This file should potentially be renamed "utilties" since this file contains no tests.
"""
from
nose.tools
import
assert_equals
,
assert_true
,
assert_false
# pylint: disable=no-name-in-module
...
...
common/lib/xmodule/xmodule/modulestore/tests/test_mongo.py
View file @
d14c39a1
"""
Unit tests for the Mongo modulestore
"""
# pylint: disable=no-member
# pylint: disable=W0212
# pylint: disable=no-name-in-module
...
...
common/lib/xmodule/xmodule/tests/test_stringify.py
View file @
d14c39a1
"""
Tests stringify functions used in xmodule html
"""
from
nose.tools
import
assert_equals
# pylint: disable=no-name-in-module
from
lxml
import
etree
from
xmodule.stringify
import
stringify_children
...
...
lms/djangoapps/django_comment_client/tests.py
View file @
d14c39a1
"""
Tests of various permissions levels for the comment client
"""
import
string
# pylint: disable=W0402
import
random
...
...
lms/djangoapps/django_comment_client/tests/test_utils.py
View file @
d14c39a1
...
...
@@ -114,6 +114,7 @@ class CoursewareContextTestCase(ModuleStoreTestCase):
utils
.
add_courseware_context
(
threads
,
self
.
course
)
def
assertThreadCorrect
(
thread
,
discussion
,
expected_title
):
# pylint: disable=invalid-name
"""Asserts that the given thread has the expected set of properties"""
self
.
assertEqual
(
set
(
thread
.
keys
()),
set
([
"commentable_id"
,
"courseware_url"
,
"courseware_title"
])
...
...
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