other was non solution, solution is pytest-depends

This commit is contained in:
Silen Naihin
2023-06-25 08:48:16 -04:00
parent 06a6f08054
commit a2f79760ce
9 changed files with 59 additions and 59 deletions

View File

@@ -16,6 +16,7 @@ class TestWriteFile(BasicChallenge):
[(data.task, data.mock_func)],
indirect=True,
)
@pytest.mark.depends(name="test_write_file")
def test_write_file(self, workspace):
file = self.open_file(workspace, data.ground.files[0])