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

Unified Diff: au_test_harness/au_test.py

Issue 6857004: Clean up extreme verbosity of logs in test harness. (Closed) Base URL: http://git.chromium.org/git/crostestutils.git@master
Patch Set: Even better cleanup Created 9 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 | « no previous file | au_test_harness/au_worker.py » ('j') | au_test_harness/vm_au_worker.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: au_test_harness/au_test.py
diff --git a/au_test_harness/au_test.py b/au_test_harness/au_test.py
index a95fa746d799996cdd863a10669ea9c0b57fc16a..9a7194db4146dd5b4a69c8a4692adb83aa8b09c1 100644
--- a/au_test_harness/au_test.py
+++ b/au_test_harness/au_test.py
@@ -81,11 +81,11 @@ class AUTest(unittest.TestCase):
self.worker.UpdateUsingPayload(payload)
except UpdateException as err:
# Will raise ValueError if expected is not found.
- if re.search(re.escape(expected_msg), err.stdout, re.MULTILINE):
+ if re.search(re.escape(expected_msg), err.output, re.MULTILINE):
return
else:
cros_lib.Warning("Didn't find '%s' in:" % expected_msg)
- cros_lib.Warning(err.stdout)
+ cros_lib.Warning(err.output)
self.fail('We managed to update when failure was expected')
« no previous file with comments | « no previous file | au_test_harness/au_worker.py » ('j') | au_test_harness/vm_au_worker.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698