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

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

Issue 54603010: Docserver: Implement the content providers infrastructure, where a (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 1 month 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/cron_servlet_test.py
diff --git a/chrome/common/extensions/docs/server2/cron_servlet_test.py b/chrome/common/extensions/docs/server2/cron_servlet_test.py
index 671a0d8569e0c4ed2d9250528a6dfc5a459027a8..371d100526a5fc2cef9430cac5e781f32f18c0bd 100755
--- a/chrome/common/extensions/docs/server2/cron_servlet_test.py
+++ b/chrome/common/extensions/docs/server2/cron_servlet_test.py
@@ -14,9 +14,10 @@ from host_file_system_provider import HostFileSystemProvider
from local_file_system import LocalFileSystem
from mock_file_system import MockFileSystem
from servlet import Request
+from svn_constants import JSON_PATH
from test_branch_utility import TestBranchUtility
from test_file_system import TestFileSystem
-from test_util import EnableLogging
+from test_util import EnableLogging, ReadFile
# NOTE(kalman): The ObjectStore created by the CronServlet is backed onto our
# fake AppEngine memcache/datastore, so the tests aren't isolated. Of course,
@@ -106,6 +107,8 @@ class CronServletTest(unittest.TestCase):
},
},
'json': {
+ 'content_providers.json': ReadFile('%s/content_providers.json' %
+ JSON_PATH),
'manifest.json': '{}',
'strings.json': '{}',
'apps_sidenav.json': '{}',
« no previous file with comments | « chrome/common/extensions/docs/server2/cron_servlet.py ('k') | chrome/common/extensions/docs/server2/redirector.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698