Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(687)

Unified Diff: mojo/devtools/common/devtoolslib/http_server_unittest.py

Issue 1433353007: Drop default port number in `http_server.py` and `shell.py`. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/devtools/common/devtoolslib/http_server.py ('k') | mojo/devtools/common/devtoolslib/linux_shell.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/devtools/common/devtoolslib/http_server_unittest.py
diff --git a/mojo/devtools/common/devtoolslib/http_server_unittest.py b/mojo/devtools/common/devtoolslib/http_server_unittest.py
index b089e70fcf5c434ec9c32600ec0010fc0b6f8f6e..bb2e32a5c95e74d458a46bb1ecd6d384b0bdc545 100644
--- a/mojo/devtools/common/devtoolslib/http_server_unittest.py
+++ b/mojo/devtools/common/devtoolslib/http_server_unittest.py
@@ -67,7 +67,7 @@ class HttpServerTest(unittest.TestCase):
('other/', [self.other_dir]),
]
server_address = ('http://%s:%u/' %
- http_server.start_http_server(mappings))
+ http_server.start_http_server(mappings, 0))
hello_relpath = os.path.relpath(self.hello_file.name, self.hello_dir)
hello_response = urllib2.urlopen(server_address + 'hello/' +
@@ -87,7 +87,7 @@ class HttpServerTest(unittest.TestCase):
('hello/', [self.hello_dir]),
]
server_address = ('http://%s:%u/' %
- http_server.start_http_server(mappings))
+ http_server.start_http_server(mappings, 0))
error_code = None
try:
@@ -102,7 +102,7 @@ class HttpServerTest(unittest.TestCase):
('singularity/', [self.hello_dir, self.other_dir]),
]
server_address = ('http://%s:%u/' %
- http_server.start_http_server(mappings))
+ http_server.start_http_server(mappings, 0))
hello_relpath = os.path.relpath(self.hello_file.name, self.hello_dir)
hello_response = urllib2.urlopen(server_address + 'singularity/' +
@@ -129,7 +129,7 @@ class HttpServerTest(unittest.TestCase):
('hello/', [self.hello_dir]),
]
server_address = ('http://%s:%u/' %
- http_server.start_http_server(mappings))
+ http_server.start_http_server(mappings, 0))
hello_relpath = os.path.relpath(self.hello_file.name, self.hello_dir)
hello_response = urllib2.urlopen(server_address + 'hello/' +
@@ -150,7 +150,7 @@ class HttpServerTest(unittest.TestCase):
('', [self.apps_dir]),
]
server_address = ('http://%s:%u/' %
- http_server.start_http_server(mappings))
+ http_server.start_http_server(mappings, 0))
app_relpath = os.path.relpath(self.dart_app_path, self.apps_dir)
hello_response = urllib2.urlopen(server_address + app_relpath)
« no previous file with comments | « mojo/devtools/common/devtoolslib/http_server.py ('k') | mojo/devtools/common/devtoolslib/linux_shell.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698