From fd946f0c04c2471ab9e579087af3f4cb645be41a Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Sun, 29 Apr 2012 14:59:54 +1200 Subject: Basic logging. --- test/test_rparse.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/test_rparse.py') diff --git a/test/test_rparse.py b/test/test_rparse.py index 67fac11e..f9c07eec 100644 --- a/test/test_rparse.py +++ b/test/test_rparse.py @@ -152,7 +152,7 @@ class uMisc(libpry.AutoTree): def test_internal_response(self): d = DummyRequest() s = rparse.InternalResponse(400, "foo") - s.render(d) + s.serve(d) class uDisconnects(libpry.AutoTree): @@ -296,12 +296,12 @@ class uResponse(libpry.AutoTree): def test_render(self): s = DummyRequest() r = rparse.parse({}, "400'msg'") - r.render(s) + assert r.serve(s) def test_length(self): def testlen(x): s = DummyRequest() - x.render(s) + x.serve(s) assert x.length() == len(s.getvalue()) testlen(rparse.parse({}, "400'msg'")) testlen(rparse.parse({}, "400'msg':h'foo'='bar'")) -- cgit v1.2.3