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
35884195
Commit
35884195
authored
Oct 29, 2015
by
muzaffaryousaf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing pep8/pylint violations.
TNL-3650
parent
cc88cfaf
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
common/lib/capa/capa/tests/test_html_render.py
+4
-1
common/lib/xmodule/xmodule/tests/test_combined_open_ended.py
+0
-0
common/lib/xmodule/xmodule/tests/test_progress.py
+1
-1
No files found.
common/lib/capa/capa/tests/test_html_render.py
View file @
35884195
...
...
@@ -124,7 +124,10 @@ class CapaHtmlRenderTest(unittest.TestCase):
rendered_html
=
etree
.
XML
(
problem
.
get_html
())
# expect the javascript is still present in the rendered html
self
.
assertIn
(
"<script type=
\"
text/javascript
\"
>function(){}</script>"
,
etree
.
tostring
(
rendered_html
))
self
.
assertIn
(
"<script type=
\"
text/javascript
\"
>function(){}</script>"
,
etree
.
tostring
(
rendered_html
)
# pylint: disable=no-member
)
def
test_render_response_xml
(
self
):
# Generate some XML for a string response
...
...
common/lib/xmodule/xmodule/tests/test_combined_open_ended.py
View file @
35884195
This diff is collapsed.
Click to expand it.
common/lib/xmodule/xmodule/tests/test_progress.py
View file @
35884195
...
...
@@ -132,7 +132,7 @@ class ProgressTest(unittest.TestCase):
# Check != while we're at it
self
.
assertNotEqual
(
prg1
,
prg2
)
self
.
assertEqual
(
prg1
,
prg3
)
self
.
assertEqual
(
prg1
,
prg3
)
class
ModuleProgressTest
(
unittest
.
TestCase
):
...
...
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