aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorPedro Worcel <pedro@worcel.com>2014-02-22 18:04:56 +1300
committerPedro Worcel <pedro@worcel.com>2014-02-22 18:04:56 +1300
commitcffae49e348a444466b46ea08cd982e099cdabc3 (patch)
tree56272833591a17509f1f0ba9aedc77d15e370184 /test
parent3e500344282a364f1fbd7245c49d980fe0bfab11 (diff)
downloadmitmproxy-cffae49e348a444466b46ea08cd982e099cdabc3.tar.gz
mitmproxy-cffae49e348a444466b46ea08cd982e099cdabc3.tar.bz2
mitmproxy-cffae49e348a444466b46ea08cd982e099cdabc3.zip
add helpful messages on wrap
Diffstat (limited to 'test')
-rw-r--r--test/test_console_search.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_console_search.py b/test/test_console_search.py
index 0e47ef79..f4e9ff9b 100644
--- a/test/test_console_search.py
+++ b/test/test_console_search.py
@@ -170,7 +170,7 @@ def test_search_backwards_wraps():
# should be on third now.
f.search_again(backwards=True)
message = f.search_again(backwards=True)
-
text_object = tutils.get_body_line(f.last_displayed_body, 2)
assert text_object.get_text() == ('this is string', [(None, 8), (f.highlight_color, 6)])
+ assert message == "search hit TOP, continuing at BOTTOM"