mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 14:18:26 +02:00
All screen tests pass with the new screen code
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
|
||||
from unittest import TestCase
|
||||
|
||||
from kitty.screen import Screen as S
|
||||
from kitty.fast_data_types import LineBuf, Cursor, Screen
|
||||
|
||||
|
||||
@@ -30,10 +29,7 @@ class BaseTest(TestCase):
|
||||
|
||||
ae = TestCase.assertEqual
|
||||
|
||||
def create_screen(self, cols=5, lines=5, history_size=5):
|
||||
return S(history_size, columns=cols, lines=lines)
|
||||
|
||||
def create_screen2(self, cols=5, lines=5):
|
||||
def create_screen(self, cols=5, lines=5):
|
||||
return Screen(None, lines, cols)
|
||||
|
||||
def assertEqualAttributes(self, c1, c2):
|
||||
|
||||
Reference in New Issue
Block a user