try fix filename encoding bug -- fails in one test

This commit is contained in:
holger krekel
2019-12-05 14:24:05 +01:00
parent 454aa90ed6
commit 225fdf560a
3 changed files with 16 additions and 10 deletions

View File

@@ -436,7 +436,7 @@ class TestOnlineAccount:
lp.sec("ac1: prepare and send attachment + text to ac2")
blobdir = ac1.get_blobdir()
basename = "somedata.txt" # XXX try unicode
basename = "somedäüta.txt"
p = os.path.join(blobdir, basename)
with open(p, "w") as f:
f.write("some data")