summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cherrypy/test/test_native.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/cherrypy/test/test_native.py b/cherrypy/test/test_native.py
index caebc3f4..08bf9997 100644
--- a/cherrypy/test/test_native.py
+++ b/cherrypy/test/test_native.py
@@ -32,4 +32,7 @@ def cp_native_server(request):
def test_basic_request(cp_native_server):
"""A request to a native server should succeed."""
- cp_native_server.get('/')
+ resp = cp_native_server.get('/')
+ assert resp.ok
+ assert resp.status_code == 200
+ assert resp.text == 'Hello World!'