mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-11 09:08:31 +00:00
fix: update VCR cassette paths for additional test files in monorepo
This commit is contained in:
@@ -18,8 +18,11 @@ ask_tool = tools[1]
|
||||
|
||||
@pytest.fixture(scope="module")
|
||||
def vcr_config(request) -> dict:
|
||||
import os
|
||||
test_dir = os.path.dirname(os.path.abspath(__file__))
|
||||
cassette_dir = os.path.join(test_dir, "cassettes")
|
||||
return {
|
||||
"cassette_library_dir": "tests/tools/agent_tools/cassettes",
|
||||
"cassette_library_dir": cassette_dir,
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -24,8 +24,11 @@ from enum import Enum
|
||||
|
||||
@pytest.fixture(scope="module")
|
||||
def vcr_config(request) -> dict:
|
||||
import os
|
||||
test_dir = os.path.dirname(os.path.abspath(__file__))
|
||||
cassette_dir = os.path.join(test_dir, "cassettes")
|
||||
return {
|
||||
"cassette_library_dir": "tests/utilities/cassettes",
|
||||
"cassette_library_dir": cassette_dir,
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user