summaryrefslogtreecommitdiff
path: root/cherrypy/test/logtest.py
diff options
context:
space:
mode:
authorspagno <spagno@gmai.com>2017-10-18 16:18:08 +0200
committerSviatoslav Sydorenko <wk@sydorenko.org.ua>2017-10-20 13:19:40 +0300
commit3497a8223d2a84f3fb62f4448b1c88a00b73b299 (patch)
treea75762223d00d01cfb18a1d83009814866cce525 /cherrypy/test/logtest.py
parent122fd0506d30152a026ca0a0e56b5eda630773b3 (diff)
downloadcherrypy-git-3497a8223d2a84f3fb62f4448b1c88a00b73b299.tar.gz
Fixed typo
Diffstat (limited to 'cherrypy/test/logtest.py')
-rw-r--r--cherrypy/test/logtest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cherrypy/test/logtest.py b/cherrypy/test/logtest.py
index ba510f2d..ef34f9ff 100644
--- a/cherrypy/test/logtest.py
+++ b/cherrypy/test/logtest.py
@@ -176,11 +176,11 @@ class LogCase(object):
uuid_obj = UUID(uuid_log, version=4)
except (TypeError, ValueError):
msg = '%r not a valid UUIDv4' % uuid_log
- self._handleLogError(msg, data, marker, lines)
+ self._handleLogError(msg, data, marker, log_chunk)
else:
if str(uuid_obj) != uuid_log:
msg = '%r not a valid UUIDv4' % uuid_log
- self._handleLogError(msg, data, marker, lines)
+ self._handleLogError(msg, data, marker, log_chunk)
def assertLog(self, sliceargs, lines, marker=None):
"""Fail if log.readlines()[sliceargs] is not contained in 'lines'.