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

Unified Diff: chrome/test/pyautolib/pyauto.py

Issue 9791023: Allow setting of user and device policies in functional tests (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Comments addressed. Created 8 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
Index: chrome/test/pyautolib/pyauto.py
diff --git a/chrome/test/pyautolib/pyauto.py b/chrome/test/pyautolib/pyauto.py
index 4a75dee63fc11dd929287cb471c2fb1da000f1df..02fa0292f66432918a6246700040cc08539fc4b1 100755
--- a/chrome/test/pyautolib/pyauto.py
+++ b/chrome/test/pyautolib/pyauto.py
@@ -442,6 +442,11 @@ class PyUITest(pyautolib.PyUITestBase, unittest.TestCase):
PyUITest.RunSuperuserActionOnChromeOS('CleanFlimflamDirs')
Nirnimesh 2012/04/05 19:05:30 This has creeped in from your other CL. Remove.
bartfab (slow) 2012/04/10 15:27:20 No, this is actually used by PolicyTestBase.setUp(
@staticmethod
+ def RemoveAllCryptohomeVaultsOnChromeOS():
+ """Remove any existing cryptohome vaults."""
+ PyUITest.RunSuperuserActionOnChromeOS('RemoveAllCryptohomeVaults')
+
+ @staticmethod
def _IsInodeNew(path, old_inode):
"""Determine whether an inode has changed. POSIX only.
« chrome/test/pyautolib/policy_base.py ('K') | « chrome/test/pyautolib/policy_base.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698