From 26305a754b0c6e9edc9ed620e58e8507a95d8dec Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Wed, 22 Oct 2014 11:41:30 -0400 Subject: default this to the whole screen --- t/text_test.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 't/text_test.py') diff --git a/t/text_test.py b/t/text_test.py index 3e4c767..23f8cf9 100644 --- a/t/text_test.py +++ b/t/text_test.py @@ -49,7 +49,6 @@ class TextTest(VT100Test): assert self.vt.cell(0, 5).contents() == "" assert self.vt.cell(0, 6).contents() == "" assert self.vt.cell(1, 0).contents() == "" - print(self.vt.window_contents(0, 0, 0, 50)) assert self.vt.window_contents(0, 0, 23, 79) == u'aデbネ' + ('\n' * 24) assert self.vt.window_contents(0, 0, 500, 500) == u'aデbネ' + ('\n' * 24) @@ -70,7 +69,7 @@ class TextTest(VT100Test): def test_wrap(self): self.process("0123456789" * 10) - assert self.vt.window_contents(0, 0, 500, 500) == ("0123456789" * 10) + ("\n" * 23) + assert self.vt.window_contents() == ("0123456789" * 10) + ("\n" * 23) self.process("\033[5H" + "0123456789" * 8) self.process("\033[6H" + "0123456789" * 8) - assert self.vt.window_contents(0, 0, 500, 500) == ("0123456789" * 10) + ("\n" * 3) + ("0123456789" * 8) + "\n" + ("0123456789" * 8) + ("\n" * 19) + assert self.vt.window_contents() == ("0123456789" * 10) + ("\n" * 3) + ("0123456789" * 8) + "\n" + ("0123456789" * 8) + ("\n" * 19) -- cgit v1.2.3-54-g00ecf