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

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

Issue 10835012: Extension Docs Server: Include a list of samples used in the api reference page. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fixed the tests Created 8 years, 5 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/handlebar_dict_generator_test.py
diff --git a/chrome/common/extensions/docs/server2/handlebar_dict_generator_test.py b/chrome/common/extensions/docs/server2/handlebar_dict_generator_test.py
index db7fba46c39fd81e3e04d7a10e356142f626d2c4..f5c51299ba1dd7139abb1e5033207d20b0bdec3d 100755
--- a/chrome/common/extensions/docs/server2/handlebar_dict_generator_test.py
+++ b/chrome/common/extensions/docs/server2/handlebar_dict_generator_test.py
@@ -24,7 +24,7 @@ class DictGeneratorTest(unittest.TestCase):
def _GenerateTest(self, filename):
expected_json = json.loads(self._ReadLocalFile('expected_' + filename))
gen = HandlebarDictGenerator(
- json.loads(comment_eater.Nom(self._ReadLocalFile(filename)))[0])
+ json.loads(comment_eater.Nom(self._ReadLocalFile(filename)))[0], [])
self.assertEquals(expected_json, gen.Generate())
def testGenerate(self):

Powered by Google App Engine
This is Rietveld 408576698