Spaces:
Sleeping
Sleeping
feat: update decisionSource assertion to check for auris_ prefix
Browse files- tests/test_analyze.py +1 -3
tests/test_analyze.py
CHANGED
|
@@ -200,9 +200,7 @@ def test_analyze_file_real_audio(
|
|
| 200 |
|
| 201 |
# Should use real analysis, not preview fallback
|
| 202 |
assert result["analysisMode"] == "production"
|
| 203 |
-
assert result["decisionSource"]
|
| 204 |
-
"auris_local", "auris_fusion",
|
| 205 |
-
)
|
| 206 |
assert result["modelVersion"] == "auris-v1-fusion"
|
| 207 |
|
| 208 |
# Confidence in valid range
|
|
|
|
| 200 |
|
| 201 |
# Should use real analysis, not preview fallback
|
| 202 |
assert result["analysisMode"] == "production"
|
| 203 |
+
assert result["decisionSource"].startswith("auris_")
|
|
|
|
|
|
|
| 204 |
assert result["modelVersion"] == "auris-v1-fusion"
|
| 205 |
|
| 206 |
# Confidence in valid range
|