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

Unified Diff: sky/tools/webkitpy/layout_tests/port/driver.py

Issue 699333002: Switch test_sky from apache to sky_server (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Less printf Created 6 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 | « sky/tools/webkitpy/layout_tests/port/base.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tools/webkitpy/layout_tests/port/driver.py
diff --git a/sky/tools/webkitpy/layout_tests/port/driver.py b/sky/tools/webkitpy/layout_tests/port/driver.py
index 1a72833dd28bc3a22266cd729ea9ff59f2e3bb0e..18d252524bc60adbf1c3106b3d916e3142c838dd 100644
--- a/sky/tools/webkitpy/layout_tests/port/driver.py
+++ b/sky/tools/webkitpy/layout_tests/port/driver.py
@@ -230,12 +230,8 @@ class Driver(object):
'/http/tests/security/mixedContent/https/test1.html') will be loaded
over HTTPS; all other tests over HTTP.
"""
- if not self.is_http_test(test_name):
- return path.abspath_to_uri(self._port.host.platform, self._port.abspath_for_test(test_name))
-
- if "/https/" in test_name:
- return "https://127.0.0.1:8443/" + test_name
- return "http://127.0.0.1:8000/" + test_name
+ assert self.is_http_test(test_name)
+ return "http://127.0.0.1:8000/sky/tests/" + test_name
def uri_to_test(self, uri):
"""Return the base layout test name for a given URI.
« no previous file with comments | « sky/tools/webkitpy/layout_tests/port/base.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698