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

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

Issue 15009006: Docserver: refactor Servlet, ObjectStore, and ServerInstance architecture to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cduvall, redirect fix Created 7 years, 7 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/example_zipper_test.py
diff --git a/chrome/common/extensions/docs/server2/example_zipper_test.py b/chrome/common/extensions/docs/server2/example_zipper_test.py
index 299c24442cb54506d8b7717451895f38683b0771..43012c4b529648eaaf57e32bc3eb0680349a16ec 100755
--- a/chrome/common/extensions/docs/server2/example_zipper_test.py
+++ b/chrome/common/extensions/docs/server2/example_zipper_test.py
@@ -15,13 +15,12 @@ from object_store_creator import ObjectStoreCreator
class ExampleZipperTest(unittest.TestCase):
def setUp(self):
- object_store_creator_factory = ObjectStoreCreator.TestFactory()
+ object_store_creator = ObjectStoreCreator.ForTest()
self._file_system = CachingFileSystem(
LocalFileSystem(os.path.join(sys.path[0], 'test_data')),
- object_store_creator_factory)
+ object_store_creator)
self._example_zipper = ExampleZipper(
- CompiledFileSystem.Factory(self._file_system,
- object_store_creator_factory),
+ CompiledFileSystem.Factory(self._file_system, object_store_creator),
'example_zipper')
def testCreateZip(self):

Powered by Google App Engine
This is Rietveld 408576698