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

Method test_mockserver_https_works

splash/tests/test_render.py:983–985  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

981 self.assertEqual(r.status_code, 200)
982
983 def test_mockserver_https_works(self):
984 r = requests.get(self.ts.mockserver.https_url("jsrender"), verify=False)
985 self.assertEqual(r.status_code, 200)
986
987 def test_splashserver_works(self):
988 r = requests.get('http://localhost:%s/_debug' % self.ts.splashserver.portnum)

Callers

nothing calls this directly

Calls 2

https_urlMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected