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

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

Issue 6880288: [autotest] Add test for the re-taking of ownership after the owner key is lost (Closed) Base URL: http://git.chromium.org/git/autotest.git@master
Patch Set: cleanup more unneeded vars 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
Index: client/site_tests/login_OwnershipApi/login_OwnershipApi.py
diff --git a/client/site_tests/login_OwnershipApi/login_OwnershipApi.py b/client/site_tests/login_OwnershipApi/login_OwnershipApi.py
index d854e6202a6645fe9c5f887b5b1c0fcd5419e03a..28cd3855f43a2ab632819c95762c82a477c68660 100644
--- a/client/site_tests/login_OwnershipApi/login_OwnershipApi.py
+++ b/client/site_tests/login_OwnershipApi/login_OwnershipApi.py
@@ -39,7 +39,7 @@ class login_OwnershipApi(cros_ownership_test.OwnershipTest):
tmpname)))
os.unlink(tmpname)
- self.use_known_ownerkeys()
+ ownership.use_known_ownerkeys()
cros_ui.start()
login.wait_for_browser()
@@ -52,8 +52,8 @@ class login_OwnershipApi(cros_ownership_test.OwnershipTest):
def run_once(self):
- pkey = self.known_privkey()
- pubkey = self.known_pubkey()
+ pkey = ownership.known_privkey()
+ pubkey = ownership.known_pubkey()
sm = self.connect_to_session_manager()
if not sm.StartSession(self._testuser, ''):
raise error.TestFail('Could not start session for owner')

Powered by Google App Engine
This is Rietveld 408576698