Change part of the tests to use client_request

Two tests retained the old syntax because of mocker conflict:
when logging in as a user through client_request, it sets up a
side_effect on user_api_client.get_user to the user you log in
as. If you later want to set return_value for get_user to
something else, problems start :d.
This commit is contained in:
Pea Tyczynska
2018-07-16 15:04:03 +01:00
parent 4cd465753a
commit 8258de084c
2 changed files with 44 additions and 51 deletions

View File

@@ -46,6 +46,6 @@
</ul>
</nav>
{% elif users_found == [] %}
<p>No users found.</p>
<p class="browse-list-hint">No users found.</p>
{% endif %}
{% endblock %}