Exemplo n.º 1
0
 def initialise_app_mock(self):
     ConsoleTestBase.initialise_app_mock(self)
     self.app.search_books = Mock(return_value=[Book()])
Exemplo n.º 2
0
 def initialise_app_mock(self):
     ConsoleTestBase.initialise_app_mock(self)
     self.app.harvest_books = Mock()
Exemplo n.º 3
0
 def initialise_app_mock(self):
     ConsoleTestBase.initialise_app_mock(self)
     self.app.list_books_by_first_letter = Mock(return_value=[Book()])