aboutsummaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-10-20 23:25:28 -0400
committerJesse Luehrs <doy@tozt.net>2014-10-20 23:25:28 -0400
commit67153dd09fa8552d486296673870ecfde525eae7 (patch)
tree5801ededcb9316987c94ff1cae16907a88c0e9a9 /t
parent524af9b4236ec347e9e783e57a166ed3eb1c600b (diff)
downloadlibvt100-python-67153dd09fa8552d486296673870ecfde525eae7.tar.gz
libvt100-python-67153dd09fa8552d486296673870ecfde525eae7.zip
clean up some more api
Diffstat (limited to 't')
-rw-r--r--t/init_test.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/t/init_test.py b/t/init_test.py
index c4b8b48..8dca6b1 100644
--- a/t/init_test.py
+++ b/t/init_test.py
@@ -2,8 +2,7 @@ from . import VT100Test
class InitTest(VT100Test):
def test_init(self):
- assert self.vt.rows == 24
- assert self.vt.cols == 80
+ assert self.vt.window_size() == (24, 80)
row, col = self.vt.cursor_pos()
assert row == 0