Fix tests for message rendering

This commit is contained in:
mathieui 2019-12-29 15:07:53 +01:00
parent 3a2aedf74c
commit cf026cf1b1

View file

@ -15,7 +15,7 @@ def test_simple_build_basemsg():
def test_simple_render_message():
msg = Message(txt='coucou', nickname='toto')
line = build_lines(msg, 100, True, 10)[0]
assert (line.start_pos, line.end_pos) == (0, 8)
assert (line.start_pos, line.end_pos) == (0, 6)
def test_simple_render_xmllog():