Set vcr_config scope to "session" (#3361)

Co-authored-by: BillSchumacher <34168009+BillSchumacher@users.noreply.github.com>
This commit is contained in:
Robin Richtsfeld
2023-04-27 03:55:01 +02:00
committed by GitHub
parent 02f546d2bc
commit 76bd192f82

View File

@@ -3,7 +3,7 @@ import pytest
from tests.vcr.openai_filter import before_record_request, before_record_response from tests.vcr.openai_filter import before_record_request, before_record_response
@pytest.fixture @pytest.fixture(scope="session")
def vcr_config(): def vcr_config():
# this fixture is called by the pytest-recording vcr decorator. # this fixture is called by the pytest-recording vcr decorator.
return { return {