def setup_slaves(self): self.slave = SaleSearch(self.store) self.slave.search.set_query(self._sale_executer_query) self.attach_slave('place_holder', self.slave) self.slave.search.refresh()
def test_show(self): search = SaleSearch(self.store) search.search.refresh() self.check_search(search, 'sale-show')