Index: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/mac_unittest.py |
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/mac_unittest.py b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/mac_unittest.py |
index 0acc44d7b5f0a462fdf0257ee9c24195bb1bbe77..a0802a85cb086a07344b00f649027d8fbd707419 100644 |
--- a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/mac_unittest.py |
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/mac_unittest.py |
@@ -79,3 +79,10 @@ class MacPortTest(port_testcase.PortTestCase): |
def test_path_to_image_diff(self): |
self.assertEqual(self.make_port()._path_to_image_diff(), '/mock-checkout/out/Release/image_diff') |
+ |
+ def test_path_to_apache_config_file(self): |
+ port = self.make_port() |
+ port._apache_version = lambda: '2.2' # pylint: disable=protected-access |
+ self.assertEqual( |
+ port.path_to_apache_config_file(), |
+ '/mock-checkout/third_party/WebKit/LayoutTests/http/conf/apache2-httpd-2.2.conf') |