mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 14:18:26 +02:00
Fix running of test suite inside kitty
This commit is contained in:
1
test.py
1
test.py
@@ -36,6 +36,7 @@ def main() -> None:
|
|||||||
XDG_CONFIG_DIRS=os.path.join(tdir, '.config'),
|
XDG_CONFIG_DIRS=os.path.join(tdir, '.config'),
|
||||||
XDG_DATA_DIRS=os.path.join(tdir, '.local', 'xdg'),
|
XDG_DATA_DIRS=os.path.join(tdir, '.local', 'xdg'),
|
||||||
XDG_CACHE_HOME=os.path.join(tdir, '.cache'),
|
XDG_CACHE_HOME=os.path.join(tdir, '.cache'),
|
||||||
|
KITTY_PREWARM_SOCKET='',
|
||||||
):
|
):
|
||||||
m = importlib.import_module('kitty_tests.main')
|
m = importlib.import_module('kitty_tests.main')
|
||||||
getattr(m, 'run_tests')()
|
getattr(m, 'run_tests')()
|
||||||
|
|||||||
Reference in New Issue
Block a user