test suite: sys.path, overlay, PYTHONPATH cleanups

This commit is contained in:
The MMGen Project 2023-09-26 09:40:12 +00:00
commit 31a6e62a24
Signed by: mmgen
GPG key ID: 3F8B1861E32B7DA2
15 changed files with 30 additions and 34 deletions

View file

@ -19,7 +19,7 @@ def exec_wrapper_init():
exec_wrapper_sys.path[0] = 'test'
else:
from test.overlay import overlay_setup
exec_wrapper_sys.path[0] = overlay_setup(repo_root=os.getcwd()) # assume we're in the repo root
overlay_setup(repo_root=os.getcwd()) # assume we're in the repo root
if 'TMUX' in os.environ:
del os.environ['TMUX']