Index: components/test/data/password_manager/automated_tests/run_tests.py |
diff --git a/components/test/data/password_manager/automated_tests/run_tests.py b/components/test/data/password_manager/automated_tests/run_tests.py |
index 7a054a5444b1a1a15785f441577243456f65c379..0f15231f3300b526895f3af4b5cd45fc091d3ee4 100644 |
--- a/components/test/data/password_manager/automated_tests/run_tests.py |
+++ b/components/test/data/password_manager/automated_tests/run_tests.py |
@@ -129,8 +129,10 @@ def RunTestCaseOnWebsite((website, test_case, config)): |
result = tests.RunTest(config.chrome_path, config.chromedriver_path, |
profile_path, config.passwords_path, |
website, test_case)[0] |
- if timeout != timeout.EXECUTED: |
- result = (website, test_case, False, "Timeout") |
+ if timeout.state != timeout.EXECUTED: |
+ result = (website, test_case, False, |
+ "Get %s as timeout state instead of expected %s" % |
vabr (Chromium)
2015/05/18 16:28:27
grammar: Get -> Got
melandory
2015/05/19 08:07:25
Done.
|
+ (timeout.state, timeout.EXECUTED)) |
vabr (Chromium)
2015/05/18 16:28:27
Printing the EXECUTED constant looks a bit strange
melandory
2015/05/19 08:07:25
Done.
|
_, _, success, _ = result |
if success: |
return result |