mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-08 15:05:17 +02:00
fix save code
This commit is contained in:
parent
9b72370cbe
commit
0fe854fa7f
1 changed files with 1 additions and 1 deletions
|
|
@ -41,4 +41,4 @@ async def test_save_code_file_notebook():
|
|||
notebook = nbformat.read(file_path, as_version=4)
|
||||
assert len(notebook.cells) > 0, "Notebook should have at least one cell"
|
||||
first_cell_source = notebook.cells[0].source
|
||||
assert "print('Hello, World!')" in first_cell_source, "Notebook cell content does not match"
|
||||
assert "print" in first_cell_source, "Notebook cell content does not match"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue