MCPcopy Create free account
hub / github.com/clips/pattern / test_search_newsfeed

Method test_search_newsfeed

test/test_web.py:519–521  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

517 def test_search_products(self):
518 self._test_search_engine("Products", *self.api["Products"], **{"query": "computer"})
519 def test_search_newsfeed(self):
520 for feed, url in web.feeds.items():
521 self._test_search_engine("Newsfeed", url, None, web.Newsfeed, query=url, type=web.NEWS)
522
523 def _test_results(self, api, source, license, Engine, type=web.SEARCH, query="today", baseline=[6,6,6,0]):
524 # Assert SearchEngine result content.

Callers

nothing calls this directly

Calls 2

_test_search_engineMethod · 0.95
itemsMethod · 0.45

Tested by

no test coverage detected