We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c288eb commit 652d706Copy full SHA for 652d706
instrumentation-genai/opentelemetry-instrumentation-vertexai/tests/test_chat_completions.py
@@ -498,10 +498,15 @@ def fixture_generate_content(
498
request: pytest.FixtureRequest,
499
vcr: VCR,
500
) -> Generator[GenerateContentFixture, None, None]:
501
+ """This fixture parameterizes tests that use it to test calling both
502
+ GenerativeModel.generate_content() and GenerativeModel.generate_content_async().
503
+ """
504
is_async: bool = request.param
505
506
if is_async and vcr.record_mode != RecordMode.NONE:
- pytest.skip("Do not run async tests when VCR is recording")
507
+ pytest.skip(
508
+ "Skip async tests when VCR is recording so that fixtures are only recorded once"
509
+ )
510
511
if is_async:
512
# See
0 commit comments