(self)
| 47 | |
| 48 | # Ensure given password is correct after unhashing |
| 49 | def test_check_password(self): |
| 50 | user = User.query.filter_by(email='ad@min.com').first() |
| 51 | self.assertTrue(bcrypt.check_password_hash(user.password, 'admin')) |
| 52 | self.assertFalse(bcrypt.check_password_hash(user.password, 'foobar')) |
| 53 | |
| 54 | |
| 55 | class UserViewsTests(BaseTestCase): |
nothing calls this directly
no outgoing calls
no test coverage detected