mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-05-03 00:02:36 +00:00
test: Update VCR configuration and test cases
Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
@@ -321,7 +321,13 @@ def test_sync_task_execution():
|
|||||||
assert mock_execute_sync.call_count == len(tasks)
|
assert mock_execute_sync.call_count == len(tasks)
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.vcr(filter_headers=["authorization"], record_mode="once")
|
@pytest.mark.vcr(
|
||||||
|
filter_headers=["authorization"],
|
||||||
|
record_mode="once",
|
||||||
|
decode_compressed_response=True,
|
||||||
|
ignore_localhost=True,
|
||||||
|
match_on=["method", "scheme", "host", "port", "path"]
|
||||||
|
)
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
"tool_output,expected",
|
"tool_output,expected",
|
||||||
[
|
[
|
||||||
|
|||||||
Reference in New Issue
Block a user