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
c5bca132
Commit
c5bca132
authored
Sep 09, 2015
by
Sarina Canelake
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #9670 from edx/sarina/fix-inherited-tests
Fix Pylint warning for monkey_patch tests
parents
8d0bc488
b19a0e71
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
common/djangoapps/monkey_patch/tests/test_django_utils_translation.py
+3
-0
lms/djangoapps/instructor/tests/test_spoc_gradebook.py
+0
-2
No files found.
common/djangoapps/monkey_patch/tests/test_django_utils_translation.py
View file @
c5bca132
...
...
@@ -29,6 +29,9 @@ while patched.
# All major functions are documented, the rest are self-evident shells.
# pylint: disable=no-member
# Pylint doesn't see our decorator `translate_with` add the `_` method.
# pylint: disable=test-inherits-tests
# This test file intentionally defines one base test class (UgettextTest) and
# patches the gettext function under test for all subsequent inheriting classes.
from
unittest
import
TestCase
from
ddt
import
data
...
...
lms/djangoapps/instructor/tests/test_spoc_gradebook.py
View file @
c5bca132
...
...
@@ -9,7 +9,6 @@ from student.tests.factories import UserFactory, CourseEnrollmentFactory, AdminF
from
xmodule.modulestore.tests.django_utils
import
SharedModuleStoreTestCase
from
capa.tests.response_xml_factory
import
StringResponseXMLFactory
from
courseware.tests.factories
import
StudentModuleFactory
from
xmodule.modulestore.django
import
modulestore
USER_COUNT
=
11
...
...
@@ -80,7 +79,6 @@ class TestGradebook(SharedModuleStoreTestCase):
args
=
(
self
.
course
.
id
.
to_deprecated_string
(),)
))
def
test_response_code
(
self
):
self
.
assertEquals
(
self
.
response
.
status_code
,
200
)
...
...
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