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

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

Issue 176973009: Doc server: support interfaces in src/extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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/api_models_test.py
diff --git a/chrome/common/extensions/docs/server2/api_models_test.py b/chrome/common/extensions/docs/server2/api_models_test.py
index d2353c5e6601e222f06f36356ea7ad771376e0aa..df494d1d762122ca0870b8423ae841b5fb9f44e2 100755
--- a/chrome/common/extensions/docs/server2/api_models_test.py
+++ b/chrome/common/extensions/docs/server2/api_models_test.py
@@ -123,7 +123,7 @@ class APIModelsTest(unittest.TestCase):
# 2 stats (1 for JSON and 1 for IDL), 1 read (for IDL file which existed).
not at google - send to devlin 2014/03/06 22:16:21 update this comment.
Ken Rockot(use gerrit already) 2014/03/06 23:55:16 Done.
future = self._api_models.GetModel('alarms')
self.assertTrue(*self._mock_file_system.CheckAndReset(
- read_count=1, stat_count=2))
+ read_count=1, stat_count=4))
# 1 read-resolve (for the IDL file).
#
@@ -136,7 +136,7 @@ class APIModelsTest(unittest.TestCase):
# 2 stats (1 for JSON and 1 for IDL), no reads (still cached).
future = self._api_models.GetModel('alarms')
- self.assertTrue(*self._mock_file_system.CheckAndReset(stat_count=2))
+ self.assertTrue(*self._mock_file_system.CheckAndReset(stat_count=4))
not at google - send to devlin 2014/03/06 22:16:21 and this one.
Ken Rockot(use gerrit already) 2014/03/06 23:55:16 Done.
future.Get()
self.assertTrue(*self._mock_file_system.CheckAndReset())

Powered by Google App Engine
This is Rietveld 408576698