fix: further fixes for utf8 reading on windows

This commit is contained in:
Matthias
2026-01-02 12:20:09 +00:00
parent 3543437fc5
commit bc2be74b36
2 changed files with 5 additions and 3 deletions
+3 -1
View File
@@ -2496,7 +2496,9 @@ def test_api_strategy(botclient, tmp_path, mocker):
assert_response(rc)
assert rc.json()["strategy"] == CURRENT_TEST_STRATEGY
data = (Path(__file__).parents[1] / "strategy/strats/strategy_test_v3.py").read_text()
data = (Path(__file__).parents[1] / "strategy/strats/strategy_test_v3.py").read_text(
encoding="utf-8"
)
assert rc.json()["code"] == data
rc = client_get(client, f"{BASE_URI}/strategy/NoStrat")