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

Unified Diff: Tools/Scripts/webkitpy/layout_tests/servers/apache_http_server_unittest.py

Issue 150573014: Rename various methods in webkitpy.layout_test.Port to be public (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 months 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
Index: Tools/Scripts/webkitpy/layout_tests/servers/apache_http_server_unittest.py
diff --git a/Tools/Scripts/webkitpy/layout_tests/servers/apache_http_server_unittest.py b/Tools/Scripts/webkitpy/layout_tests/servers/apache_http_server_unittest.py
index e68c5e39aa6440364fc4f0cd8ae438fb57849abd..4d0641cb18bba99b77747caa16a95744d4413ede 100644
--- a/Tools/Scripts/webkitpy/layout_tests/servers/apache_http_server_unittest.py
+++ b/Tools/Scripts/webkitpy/layout_tests/servers/apache_http_server_unittest.py
@@ -51,7 +51,7 @@ class TestLayoutTestApacheHttpd(unittest.TestCase):
host = MockHost()
host.executive = MockExecutive(should_log=True)
test_port = test.TestPort(host)
- host.filesystem.write_text_file(test_port._path_to_apache_config_file(), '')
+ host.filesystem.write_text_file(test_port.path_to_apache_config_file(), '')
server = LayoutTestApacheHttpd(test_port, "/mock/output_dir", number_of_servers=4)
server._check_that_all_ports_are_available = lambda: True
@@ -67,4 +67,3 @@ class TestLayoutTestApacheHttpd(unittest.TestCase):
self.assertIn("StartServers 4", logs)
self.assertIn("MinSpareServers 4", logs)
self.assertIn("MaxSpareServers 4", logs)
- self.assertTrue(host.filesystem.exists("/mock/output_dir/httpd.conf"))

Powered by Google App Engine
This is Rietveld 408576698