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

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

Issue 12996003: Dynamically generate a heading for Extension Docs API pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: AvailabilityFinder Overhaul; Removing ConfigureFakeFetchers() calls 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/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 0ee14a371907617485e613a0586a3d20e099ae52..daa6d2fc8403ebb8d51e6cd9c3e15223039cfbb2 100755
--- a/chrome/common/extensions/docs/server2/cron_servlet_test.py
+++ b/chrome/common/extensions/docs/server2/cron_servlet_test.py
@@ -3,6 +3,8 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import json
+import os
import unittest
from appengine_wrappers import GetAppVersion
@@ -29,6 +31,9 @@ class _TestDelegate(CronServlet.Delegate):
def CreateBranchUtility(self, object_store_creator):
return TestBranchUtility()
+ def CreateFileSystemForBranch(self, branch):
+ return self._create_file_system(branch)
+
def CreateHostFileSystemForBranchAndRevision(self, branch, revision):
file_system = self._create_file_system(revision)
self.file_systems.append(file_system)

Powered by Google App Engine
This is Rietveld 408576698