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

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

Issue 9583034: PyAuto tests derived from PolicyTestBase now clear the profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments 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
« no previous file with comments | « no previous file | chrome/test/pyautolib/pyauto.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/pyautolib/policy_base.py
diff --git a/chrome/test/pyautolib/policy_base.py b/chrome/test/pyautolib/policy_base.py
index 1fd0664f2e4027174b61f0d3a9a3cc5f7bf00534..eb75d8240cf05bfa9916db2ad680da26c737e53b 100644
--- a/chrome/test/pyautolib/policy_base.py
+++ b/chrome/test/pyautolib/policy_base.py
@@ -287,9 +287,13 @@ class PolicyTestBase(pyauto.PyUITest):
def tearDown(self):
"""Cleans up the files created by setUp."""
if self.IsChromeOS():
+ pyauto.PyUITest.Logout(self)
+
+ pyauto.PyUITest.tearDown(self)
+
+ if self.IsChromeOS():
self.StopHTTPServer(self._http_server)
pyauto_utils.RemovePath(self._temp_data_dir)
- pyauto.PyUITest.tearDown(self)
def SetPolicies(self, user_policy=None, device_policy=None):
"""Enforces the policies given in the arguments as dictionaries.
« no previous file with comments | « no previous file | chrome/test/pyautolib/pyauto.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698