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

Unified Diff: chrome/common/extensions/docs/server2/github_file_system_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/github_file_system_test.py
diff --git a/chrome/common/extensions/docs/server2/github_file_system_test.py b/chrome/common/extensions/docs/server2/github_file_system_test.py
index bd24e3dfc6a80531d484d46644ee56deabea7cad..fe20a95e6f88b784cffc0b2773a91e352f7a1326 100755
--- a/chrome/common/extensions/docs/server2/github_file_system_test.py
+++ b/chrome/common/extensions/docs/server2/github_file_system_test.py
@@ -6,9 +6,9 @@
import os
import unittest
-from appengine_memcache import AppEngineMemcache
from fake_url_fetcher import FakeUrlFetcher
from github_file_system import GithubFileSystem
+from in_memory_object_store import InMemoryObjectStore
class FakeBlobstore(object):
def Set(self, blob, key, version):
@@ -33,7 +33,7 @@ class FakeGithubFetcher(FakeUrlFetcher):
class GithubFileSystemTest(unittest.TestCase):
def setUp(self):
self._file_system = GithubFileSystem(FakeGithubFetcher('test_data'),
- AppEngineMemcache('test'),
+ InMemoryObjectStore('test'),
FakeBlobstore())
def testReadFiles(self):
« no previous file with comments | « chrome/common/extensions/docs/server2/github_file_system.py ('k') | chrome/common/extensions/docs/server2/handler.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698