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

Method test_mockserver_works

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

Source from the content-addressed store, hash-verified

977class TestTestSetup(unittest.TestCase):
978
979 def test_mockserver_works(self):
980 r = requests.get(self.ts.mockserver.url("jsrender", gzip=False))
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)

Callers

nothing calls this directly

Calls 2

getMethod · 0.45
urlMethod · 0.45

Tested by

no test coverage detected