Commit 2f4f17c
committed
Bump version to 2.1.1 and add prospects tests
Update package version to 2.1.1 in app/__init__.py and add a new test (tests/test_prospects.py) that exercises the /prospects endpoint using FastAPI TestClient. The test asserts a 200 response, checks that the payload contains "meta" and "data" (with data as a list), verifies presence of expected keys in data items ("init" and "search"), and validates meta fields (severity and message). This adds basic endpoint coverage to prevent regressions.1 parent 827f504 commit 2f4f17c
2 files changed
Lines changed: 21 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
0 commit comments