def test_load_fulltext_files02(self, mock_func):
     book = Book(Host(self.test_root))
     book.fulltext = {}
     book.load_fulltext_files()
     mock_func.assert_not_called()
 def test_load_fulltext_files03(self, mock_func):
     book = Book(Host(self.test_root))
     book.fulltext = {}
     book.load_fulltext_files(refresh=True)
     mock_func.assert_called_once_with('fulltext')
 def test_load_fulltext_files01(self, mock_func):
     book = Book(Host(self.test_root))
     book.load_fulltext_files()
     mock_func.assert_called_once_with('fulltext')