Open vincentwhales opened 7 years ago
Does your layout.html displays flash messages? For example:
{%- with messages = get_flashed_messages(with_categories=true) -%}
{% if messages %}
{% for category, message in messages %}
{% if category=='error' %}
{% set category='danger' %}
{% endif %}
<div class="alert alert-{{category}}">{{ message|safe }}</div>
{% endfor %}
{% endif %}
{%- endwith %}
This gives the error,
AssertionError: POST http://testing/user/member did not contain 'You must be signed in to access ' error
I looked response data and saw that flash is not displaying anything.
Any idea how you can get flash to work during tests?