Make the tests into a package

Useful to make the tests runnable in a frozen build.
This commit is contained in:
Kovid Goyal
2021-02-19 14:35:25 +05:30
parent f25b3c2aee
commit 38992e25d7
5 changed files with 119 additions and 104 deletions

View File

@@ -26,11 +26,6 @@ except ImportError:
Image = None
def relpath(name):
base = os.path.dirname(os.path.abspath(__file__))
return os.path.join(base, name)
def send_command(screen, cmd, payload=b''):
cmd = '\033_G' + cmd
if payload: