Skip to content

Commit 754be09

Browse files
GeneAIclaude
authored andcommitted
test: Add 57 new tests for security modules
- Add test_pii_scrubber.py (24 tests) for PIIScrubber coverage - Add test_secure_memdocs.py (28 tests) for SecureMemDocsIntegration - Fix test_cli.py: Replace capsys with caplog for logger output - Add 5 CLI coverage tests in TestCLIAdditionalCoverage class - Update test_all_wizards.py imports for archived location - Coverage improved from 74.58% to 75.74% - All 1,489 tests pass 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent cb764f5 commit 754be09

File tree

5 files changed

+931
-143
lines changed

5 files changed

+931
-143
lines changed

CHANGELOG.md

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,36 @@ All notable changes to the Empathy Framework will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## [1.9.2] - 2025-01-28
8+
## [1.9.3] - 2025-11-28
9+
10+
### Changed
11+
12+
**Healthcare Focus**
13+
- Archived 13 non-healthcare wizards to `archived_wizards/` directory
14+
- Accounting, Customer Support, Education, Finance, Government, HR
15+
- Insurance, Legal, Logistics, Manufacturing, Real Estate, Research
16+
- Retail, Sales, Technology wizards moved to archive
17+
- Package now focuses on 8 healthcare clinical wizards:
18+
- Admission Assessment, Care Plan, Clinical Assessment, Discharge Summary
19+
- Incident Report, SBAR, Shift Handoff, SOAP Note
20+
- Archived wizards remain functional and tested (104 tests pass)
21+
22+
**Website Updates**
23+
- Added SBAR wizard API routes (`/api/wizards/sbar/start`, `/api/wizards/sbar/generate`)
24+
- Added SBARWizard React component
25+
- Updated navigation and dashboard for healthcare focus
26+
27+
**Code Quality**
28+
- Added B904 to ruff ignore list (exception chaining in HTTPException pattern)
29+
- Fixed 37 CLI tests (logger output capture using caplog)
30+
- Test coverage: 74.58% (1,328 tests pass)
31+
32+
**Claude Code Positioning**
33+
- Updated documentation with "Created in consultation with Claude Sonnet 4.5 using Claude Code"
34+
- Added Claude Code badge to README
35+
- Updated pitch deck and partnership materials
36+
37+
## [1.9.2] - 2025-11-28
938

1039
### Fixed
1140

tests/test_all_wizards.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
import pytest
1212

13-
from empathy_llm_toolkit import EmpathyLLM
14-
from empathy_llm_toolkit.wizards import (
13+
# Import from archived wizards location
14+
from archived_wizards.empathy_llm_toolkit_wizards import (
1515
AccountingWizard,
1616
CustomerSupportWizard,
1717
EducationWizard,
@@ -29,6 +29,7 @@
2929
SalesWizard,
3030
TechnologyWizard,
3131
)
32+
from empathy_llm_toolkit import EmpathyLLM
3233

3334

3435
# Test fixtures
@@ -302,7 +303,7 @@ def test_security_warning_for_sensitive_wizards(
302303
self, llm_without_security, wizard_class, caplog
303304
):
304305
"""Test SENSITIVE wizards warn when security is disabled"""
305-
wizard = wizard_class(llm_without_security)
306+
_ = wizard_class(llm_without_security)
306307

307308
# Should log warning for SENSITIVE wizards
308309
assert any(

0 commit comments

Comments
 (0)