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

Unified Diff: client/tests/isolate_test.py

Issue 2844063005: Add option to collapse symlinks in isolate.py (Closed)
Patch Set: Add -L Created 3 years, 8 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
« no previous file with comments | « client/isolateserver.py ('k') | client/tests/isolated_format_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/tests/isolate_test.py
diff --git a/client/tests/isolate_test.py b/client/tests/isolate_test.py
index eaffdf3c36ef5fe12929769ad6d59c31fe33e71c..dc96782af0280dffa1576387e297dc72daf6c0e9 100755
--- a/client/tests/isolate_test.py
+++ b/client/tests/isolate_test.py
@@ -257,7 +257,8 @@ class IsolateTest(IsolateBase):
}
complete_state = isolate.CompleteState(None, isolate.SavedState(self.cwd))
complete_state.load_isolate(
- unicode(self.cwd), unicode(isolate_file), {}, {}, {}, None, False)
+ unicode(self.cwd), unicode(isolate_file), {}, {}, {}, None, False,
+ False)
self.assertEqual(expected, complete_state.saved_state.to_isolated())
@@ -289,6 +290,7 @@ class IsolateLoad(IsolateBase):
}
extra_variables = {'foo': 'bar'}
ignore_broken_items = False
+ collapse_symlinks = False
return Options()
def _cleanup_isolated(self, expected_isolated):
@@ -976,7 +978,7 @@ class IsolateLoad(IsolateBase):
'OS': config_os,
}
c.load_isolate(
- unicode(self.cwd), root_isolate, {}, config, {}, None, False)
+ unicode(self.cwd), root_isolate, {}, config, {}, None, False, False)
# Note that load_isolate() doesn't retrieve the meta data about each file.
expected = {
'algo': 'sha-1',
@@ -1171,7 +1173,7 @@ class IsolateLoad(IsolateBase):
'EXTRA': 'indeed',
}
c.load_isolate(
- unicode(cwd), root_isolate, paths, config, extra, None, False)
+ unicode(cwd), root_isolate, paths, config, extra, None, False, False)
# Note that load_isolate() doesn't retrieve the meta data about each file.
expected = {
'algo': 'sha-1',
« no previous file with comments | « client/isolateserver.py ('k') | client/tests/isolated_format_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698