mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-15 11:02:36 +02:00
Update: optimize universal file read ability.
This commit is contained in:
parent
35067ab0d1
commit
3b8b9639b5
1 changed files with 1 additions and 0 deletions
|
|
@ -23,3 +23,4 @@ async def test_write_and_read_file(root_path: Path, filename: str, content: byte
|
|||
assert root_path / filename == full_file_name
|
||||
file_data = await File.read(full_file_name)
|
||||
assert file_data.decode("utf-8") == content
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue