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

@@ -25,7 +25,7 @@ class TestReadFile(BasicChallenge):
[(data.task, data.mock_func)],
indirect=True,
)
@pytest.mark.order(after=data.dependencies)
@pytest.mark.depends(on=data.dependencies)
def test_read_file(self, workspace):
file = self.open_file(workspace, data.ground.files[0])