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) |