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

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

Issue 10829348: Extensions Docs Server: Large performance increase (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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: 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 9f1dc2e8c0cfaedbb5ace2b5f970488d0df9ff07..68d7376ecbdf0b8ef369aea991cfbbf3489a82eb 100755
--- a/chrome/common/extensions/docs/server2/integration_test.py
+++ b/chrome/common/extensions/docs/server2/integration_test.py
@@ -8,7 +8,6 @@ import os
from StringIO import StringIO
import unittest
-import appengine_memcache as memcache
from fake_fetchers import ConfigureFakeFetchers
KNOWN_FAILURES = [
@@ -70,16 +69,5 @@ class IntegrationTest(unittest.TestCase):
self.assertEqual(200, response.status)
self.assertTrue(response.out.getvalue())
- def testWarmupRequest(self):
- request = _MockRequest('_ah/warmup')
- response = _MockResponse()
- Handler(request, response, local_path='../..').get()
- self.assertEqual(200, response.status)
- # Test that the pages were rendered by checking the size of the output.
- # In python 2.6 there is no 'assertGreater' method.
- value = response.out.getvalue()
- self.assertTrue(len(value) > 100000,
- msg='Response is too small, probably empty: %s' % value)
-
if __name__ == '__main__':
unittest.main()

Powered by Google App Engine
This is Rietveld 408576698