From 7ada6daa3932030a3cc427085738050898252542 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Wed, 12 Feb 2025 11:15:03 +0000 Subject: [PATCH] test: Update VCR configuration and test cases Co-Authored-By: Joe Moura --- tests/crew_test.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/crew_test.py b/tests/crew_test.py index 2c56a922d..ffea9760b 100644 --- a/tests/crew_test.py +++ b/tests/crew_test.py @@ -321,7 +321,13 @@ def test_sync_task_execution(): 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( "tool_output,expected", [