MCPcopy
hub / github.com/cherrypy/cherrypy / test_basic_request

Function test_basic_request

cherrypy/test/test_native.py:33–38  ·  view source on GitHub ↗

A request to a native server should succeed.

(cp_native_server)

Source from the content-addressed store, hash-verified

31
32
33def test_basic_request(cp_native_server):
34 """A request to a native server should succeed."""
35 resp = cp_native_server.get('/')
36 assert resp.ok
37 assert resp.status_code == 200
38 assert resp.text == 'Hello World!'

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…