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

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: 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..03956dbef789bd22e72504769d911c9ccb22a8d9 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,8 @@ 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], [])
+ print json.dumps(gen.Generate(), indent=2)
chebert 2012/07/26 20:36:39 ignore.
self.assertEquals(expected_json, gen.Generate())
def testGenerate(self):

Powered by Google App Engine
This is Rietveld 408576698