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

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

Issue 10808065: Extensions Docs Server: TDS fix, no local caching (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes 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
« no previous file with comments | « chrome/common/extensions/docs/server2/template_data_source.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/docs/server2/template_data_source_test.py
diff --git a/chrome/common/extensions/docs/server2/template_data_source_test.py b/chrome/common/extensions/docs/server2/template_data_source_test.py
index 43a687397fe36f4e1940da1adf6748c07716e874..6c5e977dce95ce9aa0267474d11cbe1f62a57fdd 100755
--- a/chrome/common/extensions/docs/server2/template_data_source_test.py
+++ b/chrome/common/extensions/docs/server2/template_data_source_test.py
@@ -40,7 +40,8 @@ class TemplateDataSourceTest(unittest.TestCase):
self._fake_intro_data_source,
self._fake_samples_data_source,
cache_builder,
- ['./', './'])
+ './',
+ './')
.Create(_FakeRequest()))
def testSimple(self):
@@ -65,7 +66,8 @@ class TemplateDataSourceTest(unittest.TestCase):
cache_builder = FileSystemCache.Builder(fetcher)
t_data_source = self._CreateTemplateDataSource(self._fake_api_data_source,
cache_builder)
- self.assertEqual(self._ReadLocalFile('test_expected.html'),
+ self.assertEqual(
+ self._ReadLocalFile('test_expected.html'),
t_data_source['test_tmpl'].render(
json.loads(self._ReadLocalFile('input.json')), t_data_source).text)
« no previous file with comments | « chrome/common/extensions/docs/server2/template_data_source.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698