update regression tests info

This commit is contained in:
Silen Naihin
2023-06-25 11:12:33 -04:00
parent a2f79760ce
commit 2411c35d0e
8 changed files with 73 additions and 25 deletions

View File

@@ -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"]
}

View File

@@ -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])