Index: tests/download_from_google_storage_unittests.py |
=================================================================== |
--- tests/download_from_google_storage_unittests.py (revision 230811) |
+++ tests/download_from_google_storage_unittests.py (working copy) |
@@ -172,7 +172,7 @@ |
self.queue.put((None, None)) |
stdout_queue = Queue.Queue() |
download_from_google_storage._downloader_worker_thread( |
- 0, self.queue, False, self.base_url, self.gsutil, |
+ 0, self.queue, False, self.base_url, self.gsutil, False, |
stdout_queue, self.ret_codes) |
expected_calls = [ |
('check_call', |
@@ -193,7 +193,7 @@ |
self.queue.put((None, None)) |
stdout_queue = Queue.Queue() |
download_from_google_storage._downloader_worker_thread( |
- 0, self.queue, False, self.base_url, self.gsutil, |
+ 0, self.queue, False, self.base_url, self.gsutil, False, |
stdout_queue, self.ret_codes) |
expected_output = [ |
'0> File %s exists and SHA1 matches. Skipping.' % output_filename |
@@ -210,7 +210,7 @@ |
stdout_queue = Queue.Queue() |
self.gsutil.add_expected(1, '', '') # Return error when 'ls' is called. |
download_from_google_storage._downloader_worker_thread( |
- 0, self.queue, False, self.base_url, self.gsutil, |
+ 0, self.queue, False, self.base_url, self.gsutil, False, |
stdout_queue, self.ret_codes) |
expected_output = [ |
'0> File %s for %s does not exist, skipping.' % ( |
@@ -238,6 +238,7 @@ |
input_filename=sha1_hash, |
base_url=self.base_url, |
gsutil=self.gsutil, |
+ make_executable=False, |
num_threads=1, |
directory=False, |
recursive=False, |
@@ -262,6 +263,7 @@ |
input_filename=self.base_path, |
base_url=self.base_url, |
gsutil=self.gsutil, |
+ make_executable=False, |
num_threads=1, |
directory=True, |
recursive=False, |