Index: tools/telemetry/telemetry/util/cloud_storage_unittest.py |
diff --git a/tools/telemetry/telemetry/util/cloud_storage_unittest.py b/tools/telemetry/telemetry/util/cloud_storage_unittest.py |
index 7e40f44b296c13040b24a30f28f91c5d080905b1..f598b67d27688d62f69fc7d698798b2ebc41c353 100644 |
--- a/tools/telemetry/telemetry/util/cloud_storage_unittest.py |
+++ b/tools/telemetry/telemetry/util/cloud_storage_unittest.py |
@@ -45,9 +45,9 @@ class CloudStorageUnitTest(unittest.TestCase): |
cloud_storage.FindGsutil = orig_find_gs_util |
def testRunCommandCredentialsError(self): |
- strs = ['You are attempting to access protected data with no configured', |
- 'Failure: No handler was ready to authenticate.'] |
- self._assertRunCommandRaisesError(strs, cloud_storage.CredentialsError) |
+ strs = ['You are attempting to access protected data with no configured', |
+ 'Failure: No handler was ready to authenticate.'] |
+ self._assertRunCommandRaisesError(strs, cloud_storage.CredentialsError) |
def testRunCommandPermissionError(self): |
strs = ['status=403', 'status 403', '403 Forbidden'] |
@@ -134,7 +134,7 @@ class CloudStorageUnitTest(unittest.TestCase): |
'dir2':['2file.txt'], 'dir3':['3file1.sha1']} |
stubs.os.path.dirs = ['real_dir_path'] |
def IncrementFilesUpdated(*_): |
- IncrementFilesUpdated.files_updated +=1 |
+ IncrementFilesUpdated.files_updated += 1 |
IncrementFilesUpdated.files_updated = 0 |
orig_get_if_changed = cloud_storage.GetIfChanged |
cloud_storage.GetIfChanged = IncrementFilesUpdated |