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

Unified Diff: tests/download_from_google_storage_unittests.py

Issue 126893002: Adds --auto_platform to download_from_google_storage. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: optparse fix Created 6 years, 11 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 | « download_from_google_storage.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/download_from_google_storage_unittests.py
diff --git a/tests/download_from_google_storage_unittests.py b/tests/download_from_google_storage_unittests.py
index e5e2055f772b0ab6b5cac7afd988479d0f726e32..abdca72a560669451d2c78ba6475e34ddbd6a13d 100755
--- a/tests/download_from_google_storage_unittests.py
+++ b/tests/download_from_google_storage_unittests.py
@@ -133,7 +133,7 @@ class DownloadTests(unittest.TestCase):
def test_enumerate_files_non_recursive(self):
queue_size = download_from_google_storage.enumerate_work_queue(
- self.base_path, self.queue, True, False, False, None, False)
+ self.base_path, self.queue, True, False, False, None, False, False)
expected_queue = [
('e6c4fbd4fe7607f3e6ebf68b2ea4ef694da7b4fe',
os.path.join(self.base_path, 'rootfolder_text.txt')),
@@ -144,7 +144,7 @@ class DownloadTests(unittest.TestCase):
def test_enumerate_files_recursive(self):
queue_size = download_from_google_storage.enumerate_work_queue(
- self.base_path, self.queue, True, True, False, None, False)
+ self.base_path, self.queue, True, True, False, None, False, False)
expected_queue = [
('e6c4fbd4fe7607f3e6ebf68b2ea4ef694da7b4fe',
os.path.join(self.base_path, 'rootfolder_text.txt')),
@@ -242,7 +242,8 @@ class DownloadTests(unittest.TestCase):
output=output_filename,
ignore_errors=False,
sha1_file=False,
- verbose=True)
+ verbose=True,
+ auto_platform=False)
expected_calls = [
('check_call',
('ls', input_filename)),
@@ -273,7 +274,8 @@ class DownloadTests(unittest.TestCase):
output=None,
ignore_errors=False,
sha1_file=False,
- verbose=True)
+ verbose=True,
+ auto_platform=False)
expected_calls = [
('check_call',
('ls', input_filename)),
« no previous file with comments | « download_from_google_storage.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698