Commit 684da5c
Skip zarr multipart-upload tests when server lacks the endpoint
The two ``ai_generated`` tests added in 9bc2976 patch
``ZARR_LARGE_CHUNK_THRESHOLD`` down so chunks are routed through
``_multipart_upload`` against whatever server backs ``new_dandiset``.
The local docker dandi-archive image does not yet ship
dandi-archive#2784, so the new ``supports_zarr_multipart_upload``
capability check raises ``UploadError`` before ``_multipart_upload``
is ever called and the tests fail without exercising what they claim
to.
Probe the live client for capability and ``pytest.skip`` only when
the endpoint is missing — keeps the tests effective on setups whose
server already carries dandi-archive#2784.
Co-Authored-By: Claude Code 2.1.123 / Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 39cc742 commit 684da5c
1 file changed
Lines changed: 12 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
| |||
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
540 | 540 | | |
541 | 541 | | |
542 | 542 | | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
543 | 548 | | |
544 | 549 | | |
545 | 550 | | |
| |||
571 | 576 | | |
572 | 577 | | |
573 | 578 | | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
574 | 584 | | |
575 | 585 | | |
576 | 586 | | |
| |||
601 | 611 | | |
602 | 612 | | |
603 | 613 | | |
604 | | - | |
605 | | - | |
606 | | - | |
| 614 | + | |
607 | 615 | | |
608 | 616 | | |
609 | 617 | | |
| |||
0 commit comments