Change test dependencies (#55)

This commit is contained in:
merwanehamadi
2023-07-04 18:45:35 -07:00
committed by GitHub
parent e3c453f10e
commit 351131bbff
3 changed files with 3 additions and 3 deletions

View File

@@ -13,7 +13,7 @@ class TestRetrieval(RetrievalChallenge):
def get_file_path(self) -> str: # all tests must implement this method
return os.path.join(os.path.dirname(__file__), "r1_data.json")
@pytest.mark.depends(on=["basic_write_file"])
@pytest.mark.depends(on=["basic_write_file"], name="test_retrieval")
def test_method(self, config: Dict[str, Any]) -> None:
self.setup_challenge(config)

View File

@@ -13,7 +13,7 @@ class TestRetrieval2(RetrievalChallenge):
def get_file_path(self) -> str: # all tests must implement this method
return os.path.join(os.path.dirname(__file__), "r2_data.json")
@pytest.mark.depends(on=["basic_write_file"])
@pytest.mark.depends(on=["test_retrieval"], name="test_retrieval_2")
def test_method(self, config: Dict[str, Any]) -> None:
self.setup_challenge(config)

View File

@@ -13,7 +13,7 @@ class TestRetrieval3(RetrievalChallenge):
def get_file_path(self) -> str: # all tests must implement this method
return os.path.join(os.path.dirname(__file__), "r3_data.json")
@pytest.mark.depends(on=["basic_write_file"])
@pytest.mark.depends(on=["test_retrieval_2"], name="test_retrieval_3")
def test_method(self, config: Dict[str, Any]) -> None:
self.setup_challenge(config)