Fix test_log_request (broken by commit 36699d82).
authorW. Trevor King <wking@drexel.edu>
Wed, 11 May 2011 17:24:50 +0000 (13:24 -0400)
committerW. Trevor King <wking@drexel.edu>
Wed, 11 May 2011 17:24:50 +0000 (13:24 -0400)
libbe/command/serve.py

index b42a97b1244d94a0224c7817c305290ee99413a8..5c81e23f0cef23b6558478bf6c57eb4333b33d86 100644 (file)
@@ -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):