We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb72919 commit b9d803cCopy full SHA for b9d803c
tests/test_run.py
@@ -32,17 +32,20 @@ async def test_run(async_flag, record_mode):
32
output = await replicate.async_run(
33
f"stability-ai/sdxl:{version}",
34
input=input,
35
+ use_file_output=True,
36
)
37
else:
38
output = replicate.run(
39
40
41
42
43
44
assert output is not None
45
assert isinstance(output, list)
46
assert len(output) > 0
- assert output[0].startswith("https://")
47
+ assert isinstance(output[0], FileOutput)
48
+ assert output[0].url.startswith("https://")
49
50
51
@pytest.mark.vcr("run__concurrently.yaml")
0 commit comments