auto-claude: 8.1 - Create tests/test_seo_audit.py with tests for PageSpeed client, on-page analyzer, technical checker
Implemented comprehensive unit test suite for SEO audit functionality: - TestPageSpeedScore: Dataclass creation and serialization - TestCoreWebVitals: Core Web Vitals dataclass tests - TestRateLimiter: Rate limiting and quota tracking (7 tests) - TestGooglePageSpeedClient: API client with mocked responses (6 tests) - TestOnPageSEOAnalyzer: HTML analysis including meta tags, headings, images, links, structured data, Open Graph, Twitter Cards (12 tests) - TestTechnicalSEOChecker: robots.txt, sitemap.xml, redirects, canonical, indexability (13 tests) - TestSEOAuditScoreCalculation: On-page and technical score calculation - TestSEOAuditResultCategorization: Result categorization logic - TestParseBatchArgument: CLI batch argument parsing - TestConvenienceFunctions: Helper functions Total: 64 tests, all passing 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
15ddbba8b5
commit
92055bbe60
1111
tests/test_seo_audit.py
Normal file
1111
tests/test_seo_audit.py
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user