From 51d7cc3725131e247e9ac207b7dbb4cc2bcd5123 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 11 May 2011 13:24:50 -0400 Subject: Fix test_log_request (broken by commit 36699d82). --- libbe/command/serve.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbe/command/serve.py') diff --git a/libbe/command/serve.py b/libbe/command/serve.py index b42a97b..5c81e23 100644 --- a/libbe/command/serve.py +++ b/libbe/command/serve.py @@ -973,7 +973,7 @@ if libbe.TESTING == True: self.app.log_request( environ=self.default_environ, status='-1 OK', bytes=123) log = self.logstream.getvalue() - self.failUnless(log.startswith('- -'), log) + self.failUnless(log.startswith('192.168.0.123 -'), log) class ExceptionAppTestCase (WSGITestCase): def setUp(self): -- cgit