From: W. Trevor King Date: Wed, 11 May 2011 17:24:50 +0000 (-0400) Subject: Fix test_log_request (broken by commit 36699d82). X-Git-Tag: 1.1.0~195 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=51d7cc3725131e247e9ac207b7dbb4cc2bcd5123;p=be.git Fix test_log_request (broken by commit 36699d82). --- 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):