Skip to content

Commit

Permalink
fix: resolve relative paths
Browse files Browse the repository at this point in the history
  • Loading branch information
wu-vincent committed Oct 25, 2024
1 parent bd698d6 commit 4a94686
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/endstone_test/tests/on_load/test_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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="):
Expand Down

0 comments on commit 4a94686

Please sign in to comment.