Spaces:
Sleeping
Sleeping
Commit
·
139f107
1
Parent(s):
903649a
Updated test case
Browse files- tests/test_api.py +3 -2
tests/test_api.py
CHANGED
|
@@ -14,7 +14,8 @@ def test_context_analysis():
|
|
| 14 |
"message": "Hello"
|
| 15 |
}
|
| 16 |
|
| 17 |
-
response = client.post("/context-analysis", json=payload)
|
| 18 |
-
|
| 19 |
assert response.status_code == 200
|
| 20 |
assert response.json()
|
|
|
|
|
|
|
|
|
| 14 |
"message": "Hello"
|
| 15 |
}
|
| 16 |
|
| 17 |
+
response = client.post("/api/context-analysis", json=payload)
|
|
|
|
| 18 |
assert response.status_code == 200
|
| 19 |
assert response.json()
|
| 20 |
+
|
| 21 |
+
test_context_analysis()
|