Commit c20d38f
authored
Fix test_predict: use correct schema fields, assert is_anomaly in response
Updated the test payload to include 'bytes_transferred', 'event_type', and 'details'. Changed assertions to check for 'is_anomaly' instead of multiple keys.1 parent c8e39ce commit c20d38f
1 file changed
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | 10 | | |
13 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
| 18 | + | |
0 commit comments