From fa1e57409718f4abdf57149f4f99571dbc04478f Mon Sep 17 00:00:00 2001 From: elsid Date: Tue, 25 Jun 2024 00:40:18 +0200 Subject: [PATCH] Use existing path variables in the generated config --- scripts/integration_tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/integration_tests.py b/scripts/integration_tests.py index 4d63c0f2dd..217fa9e6d8 100755 --- a/scripts/integration_tests.py +++ b/scripts/integration_tests.py @@ -45,11 +45,11 @@ def runTest(name): with open(config_dir / "openmw.cfg", "w", encoding="utf-8") as omw_cfg: omw_cfg.writelines( ( - f'data="{example_suite_dir}{os.sep}game_template{os.sep}data"\n', + f'data="{example_suite_content.parent}"\n', f'data="{testing_util_dir}"\n', f'data-local="{test_dir}"\n', f'user-data="{userdata_dir}"\n', - "content=template.omwgame\n", + f'content={example_suite_content.name}\n', ) ) if (test_dir / "openmw.cfg").exists():