Commit c1ab0af
test(client): pin behaviour against the last released client
The transport changed; the published behaviour must not. These tests compare
against the 1.5.3 client vendored under tests/baseline: constructor and method
signatures via AST, the request that goes out, the exceptions that come back,
and the exact dict each method returns — the last by running both clients over
the same responses.
Also stop sending the generated fixed multipart boundary. An uploaded file
containing those bytes would corrupt the encoding, so the header is dropped and
the transport picks a random boundary, as the previous client did.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014f9oEEYspPH4fmPULTnLkJ1 parent f68924a commit c1ab0af
5 files changed
Lines changed: 1069 additions & 6 deletions
File tree
- src/unstract/api_deployments
- tests
- baseline
- tools
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | | - | |
73 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
406 | 406 | | |
407 | 407 | | |
408 | 408 | | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
409 | 413 | | |
410 | 414 | | |
411 | 415 | | |
| |||
516 | 520 | | |
517 | 521 | | |
518 | 522 | | |
519 | | - | |
520 | | - | |
521 | | - | |
| 523 | + | |
522 | 524 | | |
523 | 525 | | |
524 | 526 | | |
| |||
0 commit comments