def METHOD_NAME(self, session):
    session.flush()
    transaction.commit()
    username = "damien"
    email = "damien@accorsi.info"
    user = User()
    user.email = email
    user.username = username
    session.add(user)
    session.flush()
    transaction.commit()
    new_user = session.query(User).filter(User.email == email).one()
    assert new_user.email == email
    assert new_user.email_address == email
    assert new_user.username == username