Chromium Code Reviews| 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]) |
|
not at google - send to devlin
2014/08/26 22:52:23
This won't work either, right? Or does it.. happen
ahernandez
2014/08/26 23:35:56
It works because in the test data and test file sy
|
| 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) |