mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-26 10:24:30 +01:00
Change test dependencies (#55)
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user