| Index: chrome/common/extensions/docs/server2/test_servlet.py
|
| diff --git a/chrome/common/extensions/docs/server2/test_servlet.py b/chrome/common/extensions/docs/server2/test_servlet.py
|
| index 5533ebb09b454397e117940be8737ac9535ada31..fde8781432fb7a0667e6f3e786789f3160a4af72 100644
|
| --- a/chrome/common/extensions/docs/server2/test_servlet.py
|
| +++ b/chrome/common/extensions/docs/server2/test_servlet.py
|
| @@ -2,11 +2,12 @@
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| +from extensions_paths import PUBLIC_TEMPLATES
|
| from instance_servlet import (
|
| InstanceServlet, InstanceServletRenderServletDelegate)
|
| from link_error_detector import LinkErrorDetector, StringifyBrokenLinks
|
| from servlet import Request, Response, Servlet
|
| -import svn_constants
|
| +
|
|
|
| class BrokenLinkTester(object):
|
| '''Run link error detector tests.
|
| @@ -15,7 +16,7 @@ class BrokenLinkTester(object):
|
| self.link_error_detector = LinkErrorDetector(
|
| server_instance.host_file_system_provider.GetTrunk(),
|
| renderer,
|
| - svn_constants.PUBLIC_TEMPLATE_PATH,
|
| + PUBLIC_TEMPLATES,
|
| root_pages=('extensions/index.html', 'apps/about_apps.html'))
|
|
|
| def TestBrokenLinks(self):
|
| @@ -32,6 +33,7 @@ class BrokenLinkTester(object):
|
| 'Warning: Found %d orphaned pages:\n%s' % (
|
| len(orphaned_pages), '\n'.join(orphaned_pages)))
|
|
|
| +
|
| class TestServlet(Servlet):
|
| '''Runs tests against the live server. Supports running all broken link
|
| detection tests, in parts or all at once.
|
|
|