def find_all_for_user_and_text(self): bookmark_should_be = self.user.all_bookmarks()[0] bookmark_to_check = Bookmark.find_all_for_user_and_text( bookmark_should_be.text, self.user) assert bookmark_should_be in bookmark_to_check
def all_bookmarks(self, user): from zeeguu_core.model import Bookmark return Bookmark.find_all_for_user_and_text(self, user)