refactor(tests): replace all UUID references with content-addressed IDs
- Remove all 'import uuid' and 'uuid.uuid4()' calls from the test suite - Replace UUID placeholder strings ('repo-uuid', 'lbl-uuid-0001', etc.) with content-ID equivalents ('repo-id', 'lbl-id-0001', etc.) - Replace string literal IDs ('test-uuid', 'expired-uuid', 'res-uuid', 'intent-uuid') with descriptive non-uuid names - Rename test methods: test_*_not_uuid → test_*_is_sha256_not_uuid4, test_rejects_uuid → test_rejects_uuid4_format, etc. - Rename variables: uuid_re → uuid4_re, VALID_UUID → VALID_ID, _REPO_ID_UUID → _REPO_ID_LEGACY, _repo_with_uuid → _repo_with_legacy_id - Replace 'record_uuid' dict keys with 'record_id' (functional fix — source reads record_id) - Update comments and docstrings: 'uuid-repo-id' → 'legacy-repo-id', 'UUIDs within each kind' → 'IDs within each kind', etc. - Add itertools/_new_id() pattern where uuid.uuid4() generated unique IDs - Dead code removal: unused _unique() helper in test_push_have_filter.py
0 comments
muse hub commit comment sha256:1991fc6d3cb4f74b4c8f0456e7dc3fe0e56b89fce4219f92933a4083749ed5ed --body "your comment"
No comments yet. Be the first to start the discussion.