Mercurial > p > roundup > code
comparison test/test_cgi.py @ 5771:3f00269f3297
Got an xpass on testPasswordMigration, so removing xfail marker.
Not sure what got fixed, but travis is reporting the same.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Fri, 07 Jun 2019 11:35:55 -0400 |
| parents | abb9fdb02228 |
| children | 68b0c1767b50 |
comparison
equal
deleted
inserted
replaced
| 5770:f91da208f26b | 5771:3f00269f3297 |
|---|---|
| 451 password=password.Password('foo')) | 451 password=password.Password('foo')) |
| 452 self.assertEqual(self.parseForm({'password': '', | 452 self.assertEqual(self.parseForm({'password': '', |
| 453 ':confirm:password': ''}, 'user', nodeid), | 453 ':confirm:password': ''}, 'user', nodeid), |
| 454 ({('user', nodeid): {}}, [])) | 454 ({('user', nodeid): {}}, [])) |
| 455 | 455 |
| 456 @pytest.mark.xfail | |
| 457 def testPasswordMigration(self): | 456 def testPasswordMigration(self): |
| 458 # FIXME | |
| 459 chef = self.db.user.lookup('Chef') | 457 chef = self.db.user.lookup('Chef') |
| 460 form = dict(__login_name='Chef', __login_password='foo') | 458 form = dict(__login_name='Chef', __login_password='foo') |
| 461 cl = self._make_client(form) | 459 cl = self._make_client(form) |
| 462 # assume that the "best" algorithm is the first one and doesn't | 460 # assume that the "best" algorithm is the first one and doesn't |
| 463 # need migration, all others should be migrated. | 461 # need migration, all others should be migrated. |
