def test_verify_invalid_password(self): user = User('username', 'invalid') self.assertFalse(user.verify_password('password'))
def test_verify_valid_password(self): user = User('username', 'password') self.assertTrue(user.verify_password('password'))