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

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

Issue 1565001: test: Clean up site_login.py a bit. (Closed)
Patch Set: update one more call to attempt_logout() Created 10 years, 9 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 | « client/site_tests/login_LogoutProcessCleanup/login_LogoutProcessCleanup.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/site_tests/platform_ProcessPrivileges/platform_ProcessPrivileges.py
diff --git a/client/site_tests/platform_ProcessPrivileges/platform_ProcessPrivileges.py b/client/site_tests/platform_ProcessPrivileges/platform_ProcessPrivileges.py
index 0674ea90fa672a99d6aed22613507ce019b07333..595a220a2fabdafc34c4a9778dd63a383a1fa76b 100644
--- a/client/site_tests/platform_ProcessPrivileges/platform_ProcessPrivileges.py
+++ b/client/site_tests/platform_ProcessPrivileges/platform_ProcessPrivileges.py
@@ -27,8 +27,7 @@ class platform_ProcessPrivileges(test.test):
if do_login and not logged_in:
# Test account information embedded into json file.
- if not site_login.attempt_login(self, 'autox_script.json'):
- raise error.TestFail('Could not login')
+ site_login.attempt_login(self, 'autox_script.json')
# Wait for processes for user-session are started.
time.sleep(10)
« no previous file with comments | « client/site_tests/login_LogoutProcessCleanup/login_LogoutProcessCleanup.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698