Update test_global_search.py

This commit is contained in:
Fisher Yu 2018-07-24 00:06:57 +08:00 committed by GitHub
parent 0cbe649762
commit c2a536938c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -53,8 +53,6 @@ class TestGlobalSearch(unittest.TestCase):
self.assertTrue('Carter explored themes of extraterrestrial involvement in ancient mass extinctions in this episode, the third in a trilogy.' in results[0].content)
results = global_search.search('awakens & duty & alien')
self.assertTrue('After Mulder awakens from his coma, he realizes his duty to prevent alien colonization. ' in results[0].content)
results = global_search.search('awakens & duty & otherterm')
self.assertTrue(!results[0].content)
def test_update_doc(self):
self.insert_test_events()