Fix running of test suite inside kitty

This commit is contained in:
Kovid Goyal 2022-07-11 10:12:08 +05:30
parent 2d8113e0e0
commit 8f3174038b
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -36,6 +36,7 @@ def main() -> None:
XDG_CONFIG_DIRS=os.path.join(tdir, '.config'),
XDG_DATA_DIRS=os.path.join(tdir, '.local', 'xdg'),
XDG_CACHE_HOME=os.path.join(tdir, '.cache'),
KITTY_PREWARM_SOCKET='',
):
m = importlib.import_module('kitty_tests.main')
getattr(m, 'run_tests')()