Chromium Code Reviews| 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 9a5d438725d00b406b1f919829abfd619d6385d6..6f33b74b51bcdb54c5779235a13c2f58c59e51a6 100755 |
| --- a/chrome/common/extensions/docs/server2/template_data_source_test.py |
| +++ b/chrome/common/extensions/docs/server2/template_data_source_test.py |
| @@ -52,8 +52,12 @@ class TemplateDataSourceTest(unittest.TestCase): |
| data_source.Render(template_name)) |
| def _CreateTemplateDataSource(self, compiled_fs_factory, api_data=None): |
| + fake_avail_factory = _FakeFactory() |
|
not at google - send to devlin
2013/04/30 18:34:19
inline
epeterson
2013/05/13 02:38:10
Done.
|
| if api_data is None: |
| - api_data_factory = APIDataSource.Factory(compiled_fs_factory, 'fake_path') |
| + api_data_factory = APIDataSource.Factory(compiled_fs_factory, |
| + 'fake_path', |
| + fake_avail_factory, |
| + {}) # Unnecessary file system |
|
not at google - send to devlin
2013/04/30 18:34:19
just create a TestFileSystem and avoid the comment
epeterson
2013/05/13 02:38:10
Done.
|
| else: |
| api_data_factory = _FakeFactory(api_data) |
| reference_resolver_factory = ReferenceResolver.Factory( |