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

Unified Diff: chrome/common/extensions/docs/server2/integration_test.py

Issue 163813002: Docserver: Add clean URL support to the GCS content providers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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
« no previous file with comments | « no previous file | chrome/common/extensions/docs/templates/json/content_providers.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/docs/server2/integration_test.py
diff --git a/chrome/common/extensions/docs/server2/integration_test.py b/chrome/common/extensions/docs/server2/integration_test.py
index 07e1fe7636c17c39ca78932a9c422413bbfa302f..b443df7500803037c049e8f4a242f4328ac298bb 100755
--- a/chrome/common/extensions/docs/server2/integration_test.py
+++ b/chrome/common/extensions/docs/server2/integration_test.py
@@ -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__':
« no previous file with comments | « no previous file | chrome/common/extensions/docs/templates/json/content_providers.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698