| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright 2013 The Chromium Authors. All rights reserved. | 2 # Copyright 2013 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 import unittest | 6 import unittest |
| 7 | 7 |
| 8 from appengine_wrappers import GetAppVersion | |
| 9 from app_yaml_helper import AppYamlHelper | 8 from app_yaml_helper import AppYamlHelper |
| 10 from content_providers import IgnoreMissingContentProviders | 9 from content_providers import IgnoreMissingContentProviders |
| 11 from cron_servlet import CronServlet | 10 from cron_servlet import CronServlet |
| 12 from empty_dir_file_system import EmptyDirFileSystem | 11 from empty_dir_file_system import EmptyDirFileSystem |
| 12 from environment import GetAppVersion |
| 13 from extensions_paths import ( | 13 from extensions_paths import ( |
| 14 APP_YAML, CONTENT_PROVIDERS, CHROME_EXTENSIONS, PUBLIC_TEMPLATES, SERVER2, | 14 APP_YAML, CONTENT_PROVIDERS, CHROME_EXTENSIONS, PUBLIC_TEMPLATES, SERVER2, |
| 15 STATIC_DOCS) | 15 STATIC_DOCS) |
| 16 from gcs_file_system_provider import CloudStorageFileSystemProvider | 16 from gcs_file_system_provider import CloudStorageFileSystemProvider |
| 17 from github_file_system_provider import GithubFileSystemProvider | 17 from github_file_system_provider import GithubFileSystemProvider |
| 18 from host_file_system_provider import HostFileSystemProvider | 18 from host_file_system_provider import HostFileSystemProvider |
| 19 from local_file_system import LocalFileSystem | 19 from local_file_system import LocalFileSystem |
| 20 from mock_file_system import MockFileSystem | 20 from mock_file_system import MockFileSystem |
| 21 from servlet import Request | 21 from servlet import Request |
| 22 from test_branch_utility import TestBranchUtility | 22 from test_branch_utility import TestBranchUtility |
| (...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 242 self.assertEqual(AppYamlHelper.GenerateAppYaml('2-1-0'), | 242 self.assertEqual(AppYamlHelper.GenerateAppYaml('2-1-0'), |
| 243 file_systems[-1].ReadSingle(APP_YAML).Get()) | 243 file_systems[-1].ReadSingle(APP_YAML).Get()) |
| 244 self.assertEqual('<h1>y</h1> u not update!', | 244 self.assertEqual('<h1>y</h1> u not update!', |
| 245 file_systems[-1].ReadSingle(storage_html_path).Get()) | 245 file_systems[-1].ReadSingle(storage_html_path).Get()) |
| 246 self.assertEqual('important content!', | 246 self.assertEqual('important content!', |
| 247 file_systems[-1].ReadSingle(static_txt_path).Get()) | 247 file_systems[-1].ReadSingle(static_txt_path).Get()) |
| 248 | 248 |
| 249 | 249 |
| 250 if __name__ == '__main__': | 250 if __name__ == '__main__': |
| 251 unittest.main() | 251 unittest.main() |
| OLD | NEW |