mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2026-01-02 13:54:31 +01:00
add vcr to dalle (#4474)
This commit is contained in:
@@ -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,
|
||||
Reference in New Issue
Block a user