From bd8ca7c1ebab7cfd2f01c75657b2873ab80d93a5 Mon Sep 17 00:00:00 2001 From: Martin Burchell <martinb@aptivate.org> Date: Thu, 23 Jul 2015 10:53:44 +0100 Subject: [PATCH] Renamed test method to be more approriate --- django/website/rest_api/tests/counts_per_term_tests.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/django/website/rest_api/tests/counts_per_term_tests.py b/django/website/rest_api/tests/counts_per_term_tests.py index e3aec09a..b359156d 100644 --- a/django/website/rest_api/tests/counts_per_term_tests.py +++ b/django/website/rest_api/tests/counts_per_term_tests.py @@ -26,9 +26,8 @@ def get_term_count(taxonomy): return response - @pytest.mark.django_db -def test_term_count_returns_dict_keyed_on_short_name(): +def test_term_count_only_contains_terms_in_taxonomy(): origin1 = create_item(body="What was the caused of ebola outbreak in liberia?").data origin2 = create_item(body="Is Ebola a man made sickness").data origin3 = create_item(body="What brought about ebola in liberia").data -- GitLab