Chromium Code Reviews| Index: chrome/test/functional/passwords.py |
| diff --git a/chrome/test/functional/passwords.py b/chrome/test/functional/passwords.py |
| index 3b39918a1bad74242ab6cc63276b950318458e47..4f05f54db33a17304d4aa66d67761a6077fd2be4 100644 |
| --- a/chrome/test/functional/passwords.py |
| +++ b/chrome/test/functional/passwords.py |
| @@ -25,6 +25,10 @@ class PasswordTest(pyauto.PyUITest): |
| pp = pprint.PrettyPrinter(indent=2) |
| pp.pprint(self.GetSavedPasswords()) |
| + def setUp(self): |
| + pyauto.PyUITest.setUp(self) |
| + self.assertEqual(self.GetSavedPasswords(), []) |
|
Nirnimesh
2011/05/17 20:23:25
self.assertFalse(self.GetSavedPasswords())
|
| + |
| def _AssertWithinOneSecond(self, time1, time2): |
| self.assertTrue(abs(time1 - time2) < 1.0, |
| 'Times not within an acceptable range. ' |
| @@ -54,7 +58,7 @@ class PasswordTest(pyauto.PyUITest): |
| 'https://www.example.com/', 'https://www.example.com/login', |
| 'username', 'password', 'https://www.example.com/login/') |
| self.assertTrue(self.AddSavedPassword(password1)) |
| - self.assertEquals(self.GetSavedPasswords(), [password1]) |
| + self.assertEqual(self.GetSavedPasswords(), [password1]) |
| def testRemovePasswords(self): |
| """Verify that saved passwords can be removed.""" |