diff options
| author | Pedro Worcel <pedro@worcel.com> | 2013-12-25 21:08:20 +1300 | 
|---|---|---|
| committer | Pedro Worcel <pedro@worcel.com> | 2013-12-25 21:08:20 +1300 | 
| commit | 9cf8a1a89dadfebedaf48258519c9a8953375597 (patch) | |
| tree | ced30d4f4734b07574add6e9e39de10765fd448c | |
| parent | bcf5620239870a5858ffd5fa43b87d529361da74 (diff) | |
| download | mitmproxy-9cf8a1a89dadfebedaf48258519c9a8953375597.tar.gz mitmproxy-9cf8a1a89dadfebedaf48258519c9a8953375597.tar.bz2 mitmproxy-9cf8a1a89dadfebedaf48258519c9a8953375597.zip  | |
fix failing test
| -rw-r--r-- | test/test_console_contentview.py | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_console_contentview.py b/test/test_console_contentview.py index 95012657..32f4fad2 100644 --- a/test/test_console_contentview.py +++ b/test/test_console_contentview.py @@ -288,7 +288,8 @@ def test_search_highlights_multi_line():      # should highlight second line, first appearance of string.      f.search("string")      text_object = tutils.get_body_line(f.last_displayed_body, 1) -    assert text_object.get_text() == ('string is string', [(None, 0), ('key', 6)]) +    print text_object.get_text() +    assert text_object.get_text() == ('string is string', [(None, 0), (f.highlight_color, 6)])      # should highlight third line, second appearance of string.      f.search("string")  | 
