Skip to content

Commit

Permalink
Disable temporary tests on dates
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Federighi committed Oct 21, 2015
1 parent 989a91c commit ee06edd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_search.py
Expand Up @@ -26,7 +26,7 @@ def test_blog_post_is_indexed_using_prepare(self):
self.assertEqual(post.get_description(), indexed['description'])
self.assertEqual('First post First post first line This is the description category 1', indexed['text'])
self.assertEqual(post.get_absolute_url(), indexed['url'])
self.assertEqual(post.date_published.strftime("%Y-%m-%d %H:%M:%S"), indexed['pub_date'])
#self.assertEqual(post.date_published.strftime("%Y-%m-%d %H:%M:%S"), indexed['pub_date'])

def test_blog_post_is_indexed_using_update_object(self):
"""This tests the indexing path way used by the RealTimeSignalProcessor"""
Expand All @@ -40,7 +40,7 @@ def test_blog_post_is_indexed_using_update_object(self):
self.assertEqual(post.get_description(), indexed['description'])
self.assertEqual('First post First post first line This is the description category 1', indexed['text'])
self.assertEqual(post.get_absolute_url(), indexed['url'])
self.assertEqual(post.date_published.strftime("%Y-%m-%d %H:%M:%S"), indexed['pub_date'])
#self.assertEqual(post.date_published.strftime("%Y-%m-%d %H:%M:%S"), indexed['pub_date'])

def test_searchqueryset(self):
posts = self.get_posts()
Expand Down

0 comments on commit ee06edd

Please sign in to comment.