
def test_invalid_signature_email_token(setup):
    u = User(email='<EMAIL>')
    db.session.add(u)
    db.session.commit()
    assert u.validate_email('ODJIAWIOEDJASWOD') == 'bad_signature'


def test_invalid_user_email_token(setup):
    u = User(email='<EMAIL>')
    db.session.add(u)