From 8aa150d6a3d2ef79d8aa0a86c754e5789f4ee57d Mon Sep 17 00:00:00 2001 From: alexpolo1 Date: Fri, 28 Aug 2026 00:47:23 +0200 Subject: [PATCH] test: use a neutral character name in the personality seed test The repo already strips personal profile references (35aa134); a real character name does not belong in a committed test fixture. Co-Authored-By: Claude Opus 5 --- test/test_stealth_config.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/test_stealth_config.py b/test/test_stealth_config.py index 592e011..872664d 100644 --- a/test/test_stealth_config.py +++ b/test/test_stealth_config.py @@ -177,12 +177,12 @@ def test_personality_seed_is_stable_across_processes(): """ from utils.stealth import get_personality_seed - assert get_personality_seed("paladalla") == get_personality_seed("paladalla") + assert get_personality_seed("testchar") == get_personality_seed("testchar") assert get_personality_seed("a") != get_personality_seed("b") # Known-good value pins it against a silent hashing change. import hashlib - expected = int.from_bytes(hashlib.sha256(b"paladalla").digest()[:4], "big") - assert get_personality_seed("paladalla") == expected + expected = int.from_bytes(hashlib.sha256(b"testchar").digest()[:4], "big") + assert get_personality_seed("testchar") == expected def test_session_bias_is_constant_and_bounded():