From bf450cbfc10938dca3be6189c304d7396dcebd14 Mon Sep 17 00:00:00 2001
From: Martin Burchell <martinb@aptivate.org>
Date: Thu, 23 Jul 2015 11:45:33 +0100
Subject: [PATCH] Removed duplicated test

---
 .../website/rest_api/tests/counts_per_term_tests.py  | 12 ------------
 1 file changed, 12 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 887c4132..d25f03fd 100644
--- a/django/website/rest_api/tests/counts_per_term_tests.py
+++ b/django/website/rest_api/tests/counts_per_term_tests.py
@@ -89,18 +89,6 @@ def test_term_count_contains_taxonomy_term_name(questions_category):
     assert origins['name'] == name
 
 
-@pytest.mark.django_db
-def test_term_count_contains_taxonomy_term_name(questions_category):
-    origin1 = create_item(body="What was the caused of ebola outbreak in liberia?").data
-    origins = add_term(taxonomy=questions_category['slug'], name="Test Origins").data
-    categorize_item(origin1, origins)
-
-    terms = get_term_count(questions_category).data
-    [name] = [term['name'] for term in terms]
-
-    assert origins['name'] == name
-
-
 @pytest.mark.django_db
 def test_term_count_contains_taxonomy_term_long_name(questions_category):
     origin1 = create_item(body="What was the caused of ebola outbreak in liberia?").data
-- 
GitLab