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
88852c4b
Commit
88852c4b
authored
Apr 11, 2013
by
Jay Zoldak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pep8 and pylint cleanup of new files
parent
442141fa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
lms/djangoapps/django_comment_client/tests/mock_cs_server/mock_cs_server.py
+0
-1
lms/djangoapps/django_comment_client/tests/mock_cs_server/test_mock_cs_server.py
+2
-4
No files found.
lms/djangoapps/django_comment_client/tests/mock_cs_server/mock_cs_server.py
View file @
88852c4b
from
BaseHTTPServer
import
HTTPServer
,
BaseHTTPRequestHandler
import
json
import
urlparse
from
logging
import
getLogger
logger
=
getLogger
(
__name__
)
...
...
lms/djangoapps/django_comment_client/tests/mock_cs_server/test_mock_cs_server.py
View file @
88852c4b
import
mock
import
unittest
import
threading
import
json
import
urllib
import
urllib2
from
mock_cs_server
import
MockCommentServiceServer
,
MockCommentServiceRequestHandler
from
mock_cs_server
import
MockCommentServiceServer
from
nose.plugins.skip
import
SkipTest
...
...
@@ -18,7 +16,7 @@ class MockCommentServiceServerTest(unittest.TestCase):
# This is a test of the test setup,
# so it does not need to run as part of the unit test suite
# You can re-enable it by commenting out the line below
#
raise SkipTest
raise
SkipTest
# Create the server
server_port
=
4567
...
...
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