Commit Graph
13 Commits
Author SHA1 Message Date
Tobias KaupatandClaude Sonnet 5.5 a6c091b854 test: isolate scenario steps, share helpers, use restore_latest, HEAD dir probe
Scenario fixtures record each step; a failing step fails only the tests
that assert on it. running() and raise_interrupt() live in helpers.py.
put_file probes parent directories with a HEAD request instead of a
get_archive stream. stream_run uses restore_latest and asserts its result.
Docstrings no longer refer to the removed Bash suite.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-20 09:17:00 +02:00
Tobias KaupatandClaude Sonnet 5.5 884d988079 test: remove the Bash suite
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-19 17:49:47 +02:00
Tobias KaupatandClaude Sonnet 5.5 a6c83de07e test: move structure.yml to tests and remove cst volume leak
container-structure-test left one anonymous volume per test container.
tests/structure.py runs it with --save and removes the new containers
with their volumes afterwards.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-19 17:49:47 +02:00
Tobias KaupatandClaude Sonnet 5.5 c65537c013 fix: create parent directories in put_file
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-19 17:21:32 +02:00
Tobias KaupatandClaude Sonnet 5.5 12e1109a42 test: port sabotage self-test to task test:sabotage
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-19 16:37:41 +02:00
Tobias KaupatandClaude Sonnet 5.5 9c49d6bd01 test: port feature-gated tests to pytest
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-19 16:37:41 +02:00
Tobias KaupatandClaude Sonnet 5.5 8ff93f4709 test: remove anonymous volumes with short-lived test containers
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-19 16:13:44 +02:00
Tobias KaupatandClaude Sonnet 5.5 a74b210615 test: assert the empty-tag snapshot carries no tags
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-19 16:11:24 +02:00
Tobias KaupatandClaude Sonnet 5.5 a427b0f164 test: assert the success message first in the corruption test
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-19 15:42:46 +02:00
Tobias KaupatandClaude Sonnet 5.5 7875361dac test: port compat tests to pytest
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-19 15:31:03 +02:00
Tobias KaupatandClaude Sonnet 5.5 dfead1b20d fix: clean up test containers on SIGTERM
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-19 15:22:01 +02:00
Tobias KaupatandClaude Sonnet 5.5 2ce6290505 fix: make test cleanup survive repeated SIGINT
A group Ctrl-C reaches pytest a second time via task and uv while the
session fixture tears down, aborting the volume cleanup. Ignore SIGINT
and SIGTERM during cleanup, remove volumes in finally, and tolerate
already-removed objects.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-19 15:05:58 +02:00
Tobias KaupatandClaude Sonnet 5.5 b94795ee8d test: scaffold pytest suite with mise, uv and Task
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-19 14:53:06 +02:00