conductor(plan): Mark Task 2.1 complete (frozen Session test fix)
This commit is contained in:
@@ -29,7 +29,7 @@ Focus: Add custom `__init__` to `NormalizedResponse` that accepts both new neste
|
||||
|
||||
Focus: Update the test to use `dataclasses.replace()` instead of mutating the frozen `Session`.
|
||||
|
||||
- [ ] Task 2.1: Update `test_auto_whitelist_keywords` to use `dataclasses.replace`.
|
||||
- [x] Task 2.1: Update `test_auto_whitelist_keywords` to use `dataclasses.replace`. [24b39aee]
|
||||
- WHERE: `tests/test_auto_whitelist.py:20`
|
||||
- WHAT: Change `reg.data[session_id]["whitelisted"] = True` to `reg.data[session_id] = dataclasses.replace(reg.data[session_id], whitelisted=True)`
|
||||
- HOW: Use `manual-slop_edit_file` with the exact old/new text. Add `import dataclasses` to the top of the file if not already imported.
|
||||
|
||||
Reference in New Issue
Block a user