Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: tests/test_render_script.py

Issue 29341320: Noissue - Added flake8-abp and pep8-naming extension and fix reported warnings (Closed)
Patch Set: Revert changes of patch set 2 Created May 27, 2016, 12:47 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « setup.py ('k') | tests/test_renderer.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/test_render_script.py
===================================================================
--- a/tests/test_render_script.py
+++ b/tests/test_render_script.py
@@ -65,8 +65,8 @@
@pytest.fixture
def webserver_port(tmpdir, request):
"""Serve fragments via HTTP on a random port (return the port number)."""
- Handler = SimpleHTTPServer.SimpleHTTPRequestHandler
- httpd = SocketServer.TCPServer(("", 0), Handler)
+ handler = SimpleHTTPServer.SimpleHTTPRequestHandler
+ httpd = SocketServer.TCPServer(('', 0), handler)
port = httpd.socket.getsockname()[1]
# Create some files to serve.
webroot = tmpdir.join('webroot')
« no previous file with comments | « setup.py ('k') | tests/test_renderer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld