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

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

Issue 9583034: PyAuto tests derived from PolicyTestBase now clear the profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 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 959ca457e330ad9991f26edce9d3108f41e37e78..2ce6fbdf28cadcabde2b5041e0ef6a2d0b577749 100755
--- a/chrome/test/pyautolib/pyauto.py
+++ b/chrome/test/pyautolib/pyauto.py
@@ -3678,7 +3678,7 @@ class PyUITest(pyautolib.PyUITestBase, unittest.TestCase):
lambda: self.ApplyAccelerator(IDC_EXIT)), \
'Session manager did not restart after logout.'
- self.setUp()
+ PyUITest.setUp(self)
Nirnimesh 2012/03/03 01:24:15 why?
frankf 2012/03/03 01:54:13 I don't want Logout() to call the derived class's
dtu 2012/03/03 02:14:41 The intent in Logout() and Signout() is to do only
Nirnimesh 2012/03/03 02:22:01 Makes sense.
frankf 2012/03/03 03:48:05 Agree. Now we have setUp(), SetUp(), __SetUp() :)
def LockScreen(self):
"""Locks the screen on chromeos.
@@ -3726,7 +3726,7 @@ class PyUITest(pyautolib.PyUITestBase, unittest.TestCase):
assert self.WaitForSessionManagerRestart(
lambda: self._GetResultFromJSONRequest(cmd_dict, windex=None)), \
'Session manager did not restart after logout.'
- self.setUp()
+ PyUITest.setUp(self)
def GetBatteryInfo(self):
"""Get details about battery state.
« 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