v0.11.4 - Test Fixes and Stability
v0.11.4 - Test Fixes and Stability Improvements
This release ensures all tests pass cleanly with no bypassed tests, plus all linting checks pass.
π§ͺ Test Fixes
Unit Test Fixes (117/117 passing β )
- Fixed
Point.get()AttributeError by converting Pydantic models to dicts - Fixed
HAYSTACK_REF_TAGconstant from "haystack_entityRef" to "haystackRef" - Added missing method parameters to
_prepare_point_create()and_prepare_point_update()test calls - Rewrote
_build_ref_map()to only include SkySpark points with haystackRef tag - Fixed pytest fixture naming errors with proper noqa comments
Integration Test Fixes (9/9 passing β )
- Fixed fixture parameter formatting to ensure env_config is properly passed
- All integration tests validated against live services
Linting Fixes β
- Added noqa comments for all unused fixtures
- Auto-formatted code with ruff format
- All ruff checks passing
π¦ Changes
Core Fixes:
src/ace_skyspark_cli/sync.py:- Fixed HAYSTACK_REF_TAG constant value
- Rewrote _build_ref_map logic to filter by haystackRef presence
Test Updates:
tests/test_sync.py: Added .model_dump() conversions and fixed method signaturestests/test_*.py: Fixed fixture naming and linting throughout test suite
β Quality Metrics
- Unit tests: 117/117 passing
- Integration tests: 9/9 passing
- Linting: All ruff checks passing
- Formatting: All files properly formatted
- Total: 126 tests, all passing with no bypassed tests
π Installation
pip install ace-skyspark-cli==0.11.4Or with uv:
uv pip install ace-skyspark-cli==0.11.4