add vcr to dalle (#4474)

This commit is contained in:
merwanehamadi
2023-05-30 06:00:37 -07:00
committed by GitHub
parent 56650b60f4
commit 22429c6e98

View File

@@ -16,11 +16,9 @@ def image_size(request):
return request.param
@pytest.mark.xfail(
reason="The image is too big to be put in a cassette for a CI pipeline. We're looking into a solution."
)
@requires_api_key("OPENAI_API_KEY")
def test_dalle(config, workspace, image_size):
@pytest.mark.vcr
def test_dalle(config, workspace, image_size, patched_api_requestor):
"""Test DALL-E image generation."""
generate_and_validate(
config,