Commit 8c37ff74 authored by kalman@chromium.org's avatar kalman@chromium.org

Docserver: Add clean URL support to the GCS content providers.

BUG=294008
TBR=yoz@chromium.org
NOTRY=true

Review URL: https://codereview.chromium.org/163813002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251056 0039d316-1c4b-4281-b951-d872f2087c98
parent dd1eddde
......@@ -256,11 +256,11 @@ class IntegrationTest(unittest.TestCase):
@DisableLogging('warning')
def testFileNotFound(self):
response = Handler(Request.ForTest('/extensions/notfound')).Get()
response = LocalRenderer.Render('/extensions/notfound')
self.assertEqual(404, response.status)
def testSiteVerificationFile(self):
response = Handler(Request.ForTest('/' + SITE_VERIFICATION_FILE)).Get()
response = LocalRenderer.Render('/' + SITE_VERIFICATION_FILE)
self.assertEqual(200, response.status)
if __name__ == '__main__':
......
......@@ -79,6 +79,7 @@
"supportsTemplates": true
},
"devtools-docs": {
"defaultExtensions": [".html", ".md"],
"gcs": {
"bucket": "gs://chromedocs-devtools"
},
......@@ -86,6 +87,7 @@
"supportsTemplates": true
},
"multidevice-docs": {
"defaultExtensions": [".html", ".md"],
"gcs": {
"bucket": "gs://chromedocs-multidevice"
},
......@@ -93,6 +95,7 @@
"supportsTemplates": true
},
"webstore-docs": {
"defaultExtensions": [".html", ".md"],
"gcs": {
"bucket": "gs://chromedocs-webstore"
},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment