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
e26a0c43
Commit
e26a0c43
authored
Dec 02, 2014
by
Jesse Zoldak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix pep8 violations in some tests
parent
17379f40
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
1 deletions
+4
-1
lms/djangoapps/courseware/management/commands/tests/test_dump_course.py
+1
-0
lms/djangoapps/courseware/tests/test_video_handlers.py
+0
-1
lms/djangoapps/django_comment_client/forum/tests.py
+1
-0
lms/djangoapps/verify_student/tests/test_ssencrypt.py
+2
-0
No files found.
lms/djangoapps/courseware/management/commands/tests/test_dump_course.py
View file @
e26a0c43
...
...
@@ -35,6 +35,7 @@ TEST_DATA_MIXED_XML_MODULESTORE = mixed_store_config(
DATA_DIR
,
MAPPINGS
,
include_xml
=
True
,
xml_course_dirs
=
XML_COURSE_DIRS
)
class
CommandsTestBase
(
TestCase
):
"""
Base class for testing different django commands.
...
...
lms/djangoapps/courseware/tests/test_video_handlers.py
View file @
e26a0c43
...
...
@@ -156,7 +156,6 @@ class TestVideo(BaseTestXmodule):
response
=
self
.
item_descriptor
.
handle_ajax
(
'save_user_state'
,
{
u'demoo�'
:
"sample"
})
self
.
assertEqual
(
json
.
loads
(
response
)[
'success'
],
True
)
def
tearDown
(
self
):
_clear_assets
(
self
.
item_descriptor
.
location
)
...
...
lms/djangoapps/django_comment_client/forum/tests.py
View file @
e26a0c43
...
...
@@ -29,6 +29,7 @@ log = logging.getLogger(__name__)
# pylint: disable=missing-docstring
@override_settings
(
MODULESTORE
=
TEST_DATA_MOCK_MODULESTORE
)
class
ViewsExceptionTestCase
(
UrlResetMixin
,
ModuleStoreTestCase
):
...
...
lms/djangoapps/verify_student/tests/test_ssencrypt.py
View file @
e26a0c43
...
...
@@ -6,6 +6,7 @@ from verify_student.ssencrypt import (
rsa_decrypt
,
rsa_encrypt
,
random_aes_key
)
def
test_aes
():
key_str
=
"32fe72aaf2abb44de9e161131b5435c8d37cbdb6f5df242ae860b283115f2dae"
key
=
key_str
.
decode
(
"hex"
)
...
...
@@ -27,6 +28,7 @@ def test_aes():
assert_roundtrip
(
""
)
assert_roundtrip
(
"
\xe9\xe1
a
\x13\x1b
T5
\xc8
"
)
# Random, non-ASCII text
def
test_rsa
():
# Make up some garbage keys for testing purposes.
pub_key_str
=
"""-----BEGIN PUBLIC KEY-----
...
...
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