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

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

Issue 491653002: Docserver: Use GitilesFileSystem instead of SubversionFileSystem (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
Index: chrome/common/extensions/docs/server2/app_yaml_helper_test.py
diff --git a/chrome/common/extensions/docs/server2/app_yaml_helper_test.py b/chrome/common/extensions/docs/server2/app_yaml_helper_test.py
index 8f38956818d7d26413d81247226d22c1605a0678..c6fad04d72a6041f38962999346c6cb353a8c741 100755
--- a/chrome/common/extensions/docs/server2/app_yaml_helper_test.py
+++ b/chrome/common/extensions/docs/server2/app_yaml_helper_test.py
@@ -88,16 +88,16 @@ class AppYamlHelperTest(unittest.TestCase):
file_system_at_head.Update(update)
updates.append(update)
- def host_file_system_constructor(branch, revision=None):
- self.assertEqual('trunk', branch)
- self.assertTrue(revision is not None)
+ def host_file_system_constructor(branch, commit=None):
+ self.assertEqual('master', branch)
+ self.assertTrue(commit is not None)
return MockFileSystem.Create(
- TestFileSystem(test_data, relative_to=SERVER2), updates[:revision])
+ TestFileSystem(test_data, relative_to=SERVER2), updates[:commit])
object_store_creator = ObjectStoreCreator.ForTest()
host_file_system_provider = HostFileSystemProvider(
object_store_creator,
- default_trunk_instance=file_system_at_head,
+ default_master_instance=file_system_at_head,
constructor_for_test=host_file_system_constructor)
helper = AppYamlHelper(object_store_creator, host_file_system_provider)

Powered by Google App Engine
This is Rietveld 408576698