

@pytest.mark.settings(register_user_template='custom_security/register_user.html')
def test_custom_register_tempalate(client):
    response = client.get('/register')
    assert (b'CUSTOM REGISTER USER' in response.data)

dataset/ETHPy150Open mattupstate/flask-security/tests/test_registerable.py test_custom_register_tempalate/original