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

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

Issue 14856006: Docserver: achieve online vs offline (cron vs instance) behaviour at the object (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 8 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/branch_utility_test.py
diff --git a/chrome/common/extensions/docs/server2/branch_utility_test.py b/chrome/common/extensions/docs/server2/branch_utility_test.py
index 8bc3bd0bb5a498ea027d9b325caaa6466b8b5c45..026d0bb1b419c8305f96448c272acd53d4c2b085 100755
--- a/chrome/common/extensions/docs/server2/branch_utility_test.py
+++ b/chrome/common/extensions/docs/server2/branch_utility_test.py
@@ -9,6 +9,7 @@ import unittest
from branch_utility import BranchUtility
from fake_url_fetcher import FakeUrlFetcher
+from object_store_creator import ObjectStoreCreator
from test_object_store import TestObjectStore
class BranchUtilityTest(unittest.TestCase):
@@ -16,7 +17,7 @@ class BranchUtilityTest(unittest.TestCase):
self._branch_util = BranchUtility(
os.path.join('branch_utility', 'first.json'),
FakeUrlFetcher(os.path.join(sys.path[0], 'test_data')),
- object_store=TestObjectStore('test'))
+ ObjectStoreCreator.TestFactory())
def testSplitChannelNameFromPath(self):
self.assertEquals(('stable', 'extensions/stuff.html'),

Powered by Google App Engine
This is Rietveld 408576698