| Index: chrome/common/extensions/docs/server2/permissions_data_source_test.py
|
| diff --git a/chrome/common/extensions/docs/server2/permissions_data_source_test.py b/chrome/common/extensions/docs/server2/permissions_data_source_test.py
|
| index a4b37cfe02b455849268a0642afd7283c3eda4f0..f7a9090fb9a430efe629dc877666453cfd7ea080 100755
|
| --- a/chrome/common/extensions/docs/server2/permissions_data_source_test.py
|
| +++ b/chrome/common/extensions/docs/server2/permissions_data_source_test.py
|
| @@ -10,7 +10,7 @@ import unittest
|
| from extensions_paths import CHROME_EXTENSIONS
|
| from permissions_data_source import PermissionsDataSource
|
| from server_instance import ServerInstance
|
| -from third_party.handlebar import Handlebar
|
| +from third_party.motemplate import Motemplate
|
| from test_file_system import TestFileSystem
|
|
|
|
|
| @@ -158,13 +158,13 @@ class PermissionsDataSourceTest(unittest.TestCase):
|
| # - Sort keys. Since the tests don't use OrderedDicts we can't make
|
| # assertions about the order, which is unfortunate. Oh well.
|
| # - Render all of the Handlerbar instances so that we can use ==.
|
| - # Handlebars don't implement __eq__, but they probably should.
|
| + # Motemplates don't implement __eq__, but they probably should.
|
| for lst in (actual_apps, actual_extensions,
|
| expected_apps, expected_extensions):
|
| lst.sort(key=itemgetter('name'))
|
| for mapping in lst:
|
| for key, value in mapping.iteritems():
|
| - if isinstance(value, Handlebar):
|
| + if isinstance(value, Motemplate):
|
| mapping[key] = value.Render().text
|
|
|
| self.assertEqual(expected_extensions, actual_extensions)
|
|
|