ver0.1
This commit is contained in:
@@ -259,6 +259,7 @@ def test_full_flow_start_pending_resolve_end_result(
|
||||
assert r3.status_code == 200, r3.text
|
||||
body3 = r3.json()
|
||||
assert body3["confirmation_id"] == cid
|
||||
assert body3["pending_queue_length"] == 1
|
||||
import base64
|
||||
|
||||
decoded = base64.b64decode(body3["prompt_audio_mp3_base64"].encode("ascii"))
|
||||
@@ -270,6 +271,7 @@ def test_full_flow_start_pending_resolve_end_result(
|
||||
)
|
||||
assert r4.status_code == 200, r4.text
|
||||
body4 = r4.json()
|
||||
assert body4["status"] == "accepted"
|
||||
assert body4["resolved_label"] == "纱布"
|
||||
assert body4["rejected"] is False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user