mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-08 15:48:29 +00:00
Restore skip decorators for tests with VCR cassette issues in Python 3.11
Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
@@ -3936,6 +3936,9 @@ def test_crew_guardrail_feedback_in_context():
|
||||
|
||||
|
||||
@pytest.mark.vcr(filter_headers=["authorization"])
|
||||
@pytest.mark.skipif(
|
||||
sys.version_info.minor == 11, reason="VCR cassette issues in Python 3.11"
|
||||
)
|
||||
def test_before_kickoff_callback():
|
||||
from crewai.project import CrewBase, agent, before_kickoff, task
|
||||
|
||||
|
||||
@@ -568,6 +568,9 @@ def test_docling_source(mock_vector_db):
|
||||
mock_vector_db.query.assert_called_once()
|
||||
|
||||
|
||||
@pytest.mark.skipif(
|
||||
sys.version_info.minor == 11, reason="VCR cassette issues in Python 3.11"
|
||||
)
|
||||
def test_multiple_docling_sources():
|
||||
urls: List[Union[Path, str]] = [
|
||||
"https://lilianweng.github.io/posts/2024-11-28-reward-hacking/",
|
||||
|
||||
Reference in New Issue
Block a user