Commit Graph

2 Commits

Author SHA1 Message Date
92055bbe60 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>
2026-01-08 09:18:15 +01:00
02fc67bf40 Initial commit 2026-01-01 14:01:49 +01:00