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
1cf9a3a0
Commit
1cf9a3a0
authored
Dec 02, 2014
by
Jesse Zoldak
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6112 from edx/zoldak/fix-pep8
Fix pep8 violations in some tests
parents
94d3d236
e26a0c43
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
0 deletions
+4
-0
lms/djangoapps/courseware/management/commands/tests/test_dump_course.py
+1
-0
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 @
1cf9a3a0
...
...
@@ -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/django_comment_client/forum/tests.py
View file @
1cf9a3a0
...
...
@@ -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 @
1cf9a3a0
...
...
@@ -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