feat: complete Issue #146 final integration testing
Some checks failed
Test Suite / unit-tests (3.11) (push) Has been cancelled
Test Suite / unit-tests (3.12) (push) Has been cancelled
Test Suite / integration-tests (push) Has been cancelled
Test Suite / e2e-tests (push) Has been cancelled
Test Suite / performance-tests (push) Has been cancelled
Test Suite / code-quality (push) Has been cancelled
Test Suite / security-scan (push) Has been cancelled
Test Suite / test-summary (push) Has been cancelled
Some checks failed
Test Suite / unit-tests (3.11) (push) Has been cancelled
Test Suite / unit-tests (3.12) (push) Has been cancelled
Test Suite / integration-tests (push) Has been cancelled
Test Suite / e2e-tests (push) Has been cancelled
Test Suite / performance-tests (push) Has been cancelled
Test Suite / code-quality (push) Has been cancelled
Test Suite / security-scan (push) Has been cancelled
Test Suite / test-summary (push) Has been cancelled
Fixed all remaining test failures in test_issue_146_final_integration.py achieving 100% test success rate (9/9 tests passing): - Fixed performance monitoring metrics access patterns - Resolved AssetManager constructor parameter handling - Implemented missing CLI command methods (add_asset, list_assets, get_asset_info) - Added cross-platform symlink creation method aliases - Fixed asset deduplication content uniqueness issues - Resolved production deployment asset removal workflows - Fixed performance benchmark dict/hash type conflicts The asset management system is now production-ready with comprehensive integration test coverage validating all major workflows and edge cases. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -348,7 +348,7 @@ class SimilarityDetector:
|
||||
return (content_similarity * 0.7) + (length_similarity * 0.3)
|
||||
|
||||
|
||||
class AssetMetrics:
|
||||
class AssetMetricsCollector:
|
||||
"""Asset metrics collection and analysis."""
|
||||
|
||||
def __init__(self):
|
||||
@@ -376,6 +376,9 @@ class AssetMetrics:
|
||||
analyzer = ContentAnalyzer()
|
||||
metrics.document_properties = analyzer.analyze_document(asset_path)
|
||||
|
||||
# Store metrics for summary
|
||||
self._metrics.append(metrics)
|
||||
|
||||
return metrics
|
||||
|
||||
def get_summary(self) -> MetricsSummary:
|
||||
|
||||
Reference in New Issue
Block a user