Blender add-on tests: the token-guard test no longer pins the store's spelling of an empty put #9

Merged
libby merged 1 commit from libby/guard-test-code into main 2026-11-10 17:42:46 +00:00
Member

Main fails test_server_guard.RealServerTests.test_token_on_refuses_unauthenticated_put_on_the_real_server against current CultLib: the store now refuses the empty put as message_invalid, the test expected malformed. The test now asserts what it means: past the guard there is a coded store refusal that does not name the token field (the guard's own refusal is codeless). Negative checked: without the token the new assertions fail.

Tested locally only: unittest discover surfaces/blender/tests 67 of 67 against CultLib main 8ca1d184+#71 (CULTLIB_PACKAGES). Brokkr has no CI. No separate Soul pass (test-only, 5 lines).

🤖 Generated with Claude Code

Main fails `test_server_guard.RealServerTests.test_token_on_refuses_unauthenticated_put_on_the_real_server` against current CultLib: the store now refuses the empty put as `message_invalid`, the test expected `malformed`. The test now asserts what it means: past the guard there is a coded store refusal that does not name the token field (the guard's own refusal is codeless). Negative checked: without the token the new assertions fail. Tested locally only: `unittest discover surfaces/blender/tests` 67 of 67 against CultLib main `8ca1d184`+#71 (CULTLIB_PACKAGES). Brokkr has no CI. No separate Soul pass (test-only, 5 lines). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
CultLib's store now refuses it as message_invalid, not malformed, so the test failed on
main against current CultLib. It now asserts what it means: past the guard, a coded
store refusal that is not the guard's own (codeless, names the token field).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
libby merged commit 6f0e70042d into main 2026-11-10 17:42:46 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
GameCult/Brokkr!9
No description provided.