From 942723c3a79fd432f5396410a18a0d14bfc74f6e Mon Sep 17 00:00:00 2001 From: Marco Federighi Date: Mon, 19 Oct 2015 09:50:39 +0200 Subject: [PATCH] Remove prints --- tests/test_search.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_search.py b/tests/test_search.py index 71d7403..2732a37 100644 --- a/tests/test_search.py +++ b/tests/test_search.py @@ -19,7 +19,7 @@ class PluginIndexingTests(BaseTest): index = self.get_post_index() index.index_queryset(DEFAULT_ALIAS) # initialises index._backend_alias indexed = index.prepare(post) - print(indexed) + self.assertEqual(post.get_title(), indexed['title']) self.assertEqual(post.get_description(), indexed['description']) self.assertEqual('First post First post first line This is the description category 1', indexed['text']) @@ -33,7 +33,7 @@ class PluginIndexingTests(BaseTest): index = self.get_post_index() index.update_object(post, using=DEFAULT_ALIAS) indexed = index.prepared_data - print(indexed) + self.assertEqual(post.get_title(), indexed['title']) self.assertEqual(post.get_description(), indexed['description']) self.assertEqual('First post First post first line This is the description category 1', indexed['text'])