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

Unified Diff: chrome/test/functional/policy.py

Issue 10255022: Revert 134389 - Fix an incorrectly written policy test. It was using a hook incorrectly and checkin… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/functional/policy.py
===================================================================
--- chrome/test/functional/policy.py (revision 134443)
+++ chrome/test/functional/policy.py (working copy)
@@ -530,8 +530,8 @@
False))
self.SetOmniboxText('deli')
self.WaitUntilOmniboxQueryDone()
- self.OmniboxAcceptInput()
- self.assertFalse('search.my.company' in self.GetActiveTabURL().spec())
+ self.assertRaises(pyauto.JSONInterfaceError,
+ lambda: self.OmniboxAcceptInput())
# Needed for extension tests
_GOOD_CRX_ID = 'ldnnhddmnhbkjipkidpdiheffobcpfmf'
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698