From 4a946865b31d5bed19bcf7e2cd8e29515df811e3 Mon Sep 17 00:00:00 2001 From: Vincent Date: Fri, 25 Oct 2024 12:32:18 +0100 Subject: [PATCH] fix: resolve relative paths --- src/endstone_test/tests/on_load/test_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/endstone_test/tests/on_load/test_server.py b/src/endstone_test/tests/on_load/test_server.py index ef5ef22..850075c 100644 --- a/src/endstone_test/tests/on_load/test_server.py +++ b/src/endstone_test/tests/on_load/test_server.py @@ -38,7 +38,7 @@ def test_max_players(server: Server) -> None: def test_online_mode(plugin: Plugin, server: Server) -> None: - properties_file = Path(plugin.data_folder, "..", "..", "server.properties") + properties_file = Path(plugin.data_folder, "..", "..", "server.properties").resolve() with properties_file.open(mode="r") as file: for line in file: if line.startswith("online-mode="):