Skip to content

Commit 933313c

Browse files
committed
Fix tests
1 parent 76b1b58 commit 933313c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/services/contents/test_fileio.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,10 @@ async def stop_soon():
133133

134134
async def change_dir():
135135
await asyncio.sleep(0.1)
136-
(tmp_path / "file0").write_text("test0")
136+
(tmp_path / "file0").write_text("foo")
137137
await asyncio.sleep(0.1)
138-
(tmp_path / "file0").write_text("test1")
138+
with open(tmp_path / "file0", "a") as f:
139+
f.write(" bar")
139140
await asyncio.sleep(0.1)
140141
(tmp_path / "file0").unlink()
141142

0 commit comments

Comments
 (0)