Index: chrome/test/functional/cookies.py |
diff --git a/chrome/test/functional/cookies.py b/chrome/test/functional/cookies.py |
index ba73042c46c928cab103382981d4e67c908d1cb4..cf98edf163f676978e4ccce400a2c0d86f247f77 100755 |
--- a/chrome/test/functional/cookies.py |
+++ b/chrome/test/functional/cookies.py |
@@ -80,8 +80,8 @@ class CookiesTest(pyauto.PyUITest): |
msg='Cookie did not exist after loading %s' % https_url) |
# Restart and verify that the cookie persists. |
self.RestartBrowser(clear_profile=False) |
- self.assertTrue(cookie_data, self.GetCookie(pyauto.GURL(https_url)), |
- msg='Cookie did not persist after restarting session.') |
+ self.assertEqual(cookie_data, self.GetCookie(pyauto.GURL(https_url)), |
+ msg='Cookie did not persist after restarting session.') |
def testCookiesFile(self): |
"""Test cookies set from file:// url for incognito and regular windows.""" |