def test_retrieve_search_places_00(self, mocker): """Ensure the collector functions are called.""" c = CollectorClient(self.fake.pystr()) c.collector = mocker.Mock() c.search_places(self.fake.pystr()) c.collector.search_places.assert_called()
def test_to_business_info_00(self, mocker): """Ensure the collector functions are called.""" c = CollectorClient(self.fake.pystr()) c.collector = mocker.Mock() c.to_business_info() c.collector.to_business_info.assert_called()
def test_get_place_details_00(self, mocker): """Ensure the collector functions are called.""" c = CollectorClient(self.fake.pystr()) c.collector = mocker.Mock() c.get_place_details(self.fake.pystr()) c.collector.get_place_details.assert_called()