mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2026-01-06 15:54:22 +01:00
update regression tests info
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
},
|
||||
"mock_func": "basic_write_file_mock",
|
||||
"info": {
|
||||
"difficulty": "easy",
|
||||
"difficulty": "basic",
|
||||
"description": "Tests the writing to file",
|
||||
"side_effects": ["tests if there is in fact an LLM attached"]
|
||||
}
|
||||
|
||||
@@ -16,6 +16,11 @@ class TestWriteFile(BasicChallenge):
|
||||
[(data.task, data.mock_func)],
|
||||
indirect=True,
|
||||
)
|
||||
@pytest.mark.parametrize(
|
||||
"regression_data",
|
||||
[data],
|
||||
indirect=True,
|
||||
)
|
||||
@pytest.mark.depends(name="test_write_file")
|
||||
def test_write_file(self, workspace):
|
||||
file = self.open_file(workspace, data.ground.files[0])
|
||||
|
||||
Reference in New Issue
Block a user