- books = self.search.search_book("szarzyński anusie")
- assert len(books) == 1
-
- books = self.search.search_book("szarzyński fraszka")
- assert len(books) == 1
-
- def test_search_everywhere(self):
- books = self.search.search_everywhere("szarzyński kochanek")
- print 'szarzyński kochanek %s' % [b.hits for b in books]
-
- books = self.search.search_everywhere("szarzyński narcyz")
- print 'szarzyński narcyz %s' % [b.hits for b in books]
-
- books = self.search.search_everywhere("anusie narcyz")
- print 'anusie narcyz %s' % [b.hits for b in books]
-
- # theme content cross
- books = self.search.search_everywhere("wzrok boginie")
- print 'wzrok boginie %s' % [b.hits for b in books]
-
- books = self.search.search_everywhere("anusie płynęły zdroje")
- print 'anusie płynęły zdroje %s' % [b.hits for b in books]