aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-node/tests/test_keystore.py
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-node/tests/test_keystore.py')
-rw-r--r--packages/meshbay-node/tests/test_keystore.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/meshbay-node/tests/test_keystore.py b/packages/meshbay-node/tests/test_keystore.py
index b9dd3a4..5cef9f9 100644
--- a/packages/meshbay-node/tests/test_keystore.py
+++ b/packages/meshbay-node/tests/test_keystore.py
@@ -94,7 +94,7 @@ def test_env_var_unlock(tmp_path, monkeypatch):
def test_unlock_file(tmp_path):
path = tmp_path / "keystore.enc"
kf_path = tmp_path / "unlock.key"
- kf_path.write_text("filepass42")
+ kf_path.write_text("filepass42", encoding="utf-8")
kf_path.chmod(0o600)
create_keystore(path=path, password="filepass42")