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' |