Use a fake pad to make tests runnable

This commit is contained in:
Yohann D'ANELLO
2020-11-08 23:40:03 +01:00
parent 65d89b7f9f
commit 3486c865a1
5 changed files with 27 additions and 5 deletions

View File

@ -14,7 +14,7 @@ class StatsDisplay(Display):
self.topleftx = topleftx
self.toplefty = toplefty
self.player = player
self.pad = curses.newpad(height, width)
self.pad = self.newpad(height, width)
def update_pad(self) -> None:
string = ""