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

Unified Diff: client/site_tests/factory_Verify/factory_Verify.py

Issue 3323018: Fix for new status_map convention. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/autotest.git
Patch Set: Created 10 years, 3 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/site_tests/factory_Verify/factory_Verify.py
diff --git a/client/site_tests/factory_Verify/factory_Verify.py b/client/site_tests/factory_Verify/factory_Verify.py
index a95021d9bef7a101449a68a613f17f44ff48060a..bb1cdf220699eb59387d5104bac0c0b2940ae0cf 100644
--- a/client/site_tests/factory_Verify/factory_Verify.py
+++ b/client/site_tests/factory_Verify/factory_Verify.py
@@ -70,7 +70,7 @@ class factory_Verify(test.test):
# check if all previous tests are passed.
db = factory.TestDatabase(test_list)
status_map = factory.StatusMap(test_list, status_file, db)
- failed_list = status_map.filter(ful.FAILED)
+ failed_list = status_map.filter_by_status(ful.FAILED)
if failed_list:
failed = ','.join([db.get_unique_id_str(t) for t in failed_list])
raise error.TestFail('Some previous tests failed: %s' % failed)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698