MCPcopy
hub / github.com/scrapinghub/splash / ts2_request

Method ts2_request

splash/tests/test_proxy.py:149–151  ·  view source on GitHub ↗
(self, ts2, query, endpoint='render.html')

Source from the content-addressed store, hash-verified

147class HtmlProxyDefaultProfileTest(BaseHtmlProxyTest):
148
149 def ts2_request(self, ts2, query, endpoint='render.html'):
150 url = "http://localhost:%s/%s" % (ts2.splashserver.portnum, endpoint)
151 return requests.get(url, params=query)
152
153 def create_default_ini(self, ts2):
154 src = os.path.join(ts2.proxy_profiles_path, 'test.ini')

Callers 2

test_ts_setupMethod · 0.95

Calls 1

getMethod · 0.45

Tested by

no test coverage detected