| 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 423acce679b41ed60226a44cfb05097b03a6c0a6..fee3c9a193b47e1ea9c21f4939956260ae9113dd 100755
|
| --- a/chrome/common/extensions/docs/server2/template_data_source_test.py
|
| +++ b/chrome/common/extensions/docs/server2/template_data_source_test.py
|
| @@ -10,7 +10,7 @@ from extensions_paths import SERVER2
|
| from server_instance import ServerInstance
|
| from template_data_source import TemplateDataSource
|
| from test_util import DisableLogging, ReadFile
|
| -from third_party.handlebar import Handlebar
|
| +from third_party.motemplate import Motemplate
|
|
|
| def _ReadFile(*path):
|
| return ReadFile(SERVER2, 'test_data', 'template_data_source', *path)
|
| @@ -38,12 +38,12 @@ class TemplateDataSourceTest(unittest.TestCase):
|
|
|
| def testSimple(self):
|
| test_data_source = _CreateTestDataSource('simple')
|
| - template_a1 = Handlebar(_ReadFile('simple', 'test1.html'))
|
| + template_a1 = Motemplate(_ReadFile('simple', 'test1.html'))
|
| context = [{}, {'templates': {}}]
|
| self.assertEqual(
|
| template_a1.Render(*context).text,
|
| test_data_source.get('test1').Render(*context).text)
|
| - template_a2 = Handlebar(_ReadFile('simple', 'test2.html'))
|
| + template_a2 = Motemplate(_ReadFile('simple', 'test2.html'))
|
| self.assertEqual(
|
| template_a2.Render(*context).text,
|
| test_data_source.get('test2').Render(*context).text)
|
|
|