Chromium Code Reviews| Index: chrome/test/functional/instant.py |
| =================================================================== |
| --- chrome/test/functional/instant.py (revision 72080) |
| +++ chrome/test/functional/instant.py (working copy) |
| @@ -8,7 +8,7 @@ |
| import pyauto_functional # Must be imported before pyauto |
| import pyauto |
| -import urlparse |
| +import cgi |
|
Nirnimesh
2011/01/21 02:02:38
move this before import os
Huyen
2011/01/21 02:07:48
Done.
|
| class InstantTest(pyauto.PyUITest): |
| @@ -33,7 +33,7 @@ |
| self.assertTrue(self.WaitUntil(self._DoneLoading)) |
| location = self.GetInstantInfo().get('location') |
| if location is not None: |
| - q = urlparse.parse_qs(location).get('q') |
| + q = cgi.parse_qs(location).get('q') |
| if q is not None and query in q: |
| return True |
| return False |