diff options
author | Jesse Luehrs <doy@tozt.net> | 2014-10-22 11:41:30 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2014-10-22 11:41:30 -0400 |
commit | 26305a754b0c6e9edc9ed620e58e8507a95d8dec (patch) | |
tree | aac01ceef992e5d0cc9752eb07b78b109dbdcea4 /t/text_test.py | |
parent | 4afd275b89be802582e1b4dd665411e18f30336d (diff) | |
download | libvt100-python-26305a754b0c6e9edc9ed620e58e8507a95d8dec.tar.gz libvt100-python-26305a754b0c6e9edc9ed620e58e8507a95d8dec.zip |
default this to the whole screen
Diffstat (limited to 't/text_test.py')
-rw-r--r-- | t/text_test.py | 5 |
1 files changed, 2 insertions, 3 deletions
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) |