Samir Boulahtit
1bbbd5d4d7
test: add missing vendor context middleware tests and fix exception type
- Fix test_require_vendor_context_failure to expect VendorNotFoundException
instead of HTTPException (aligning with actual implementation)
- Add tests for is_shop_api_request() method (5 tests)
- Add tests for extract_vendor_from_referer() method (10 tests)
- Path-based extraction (/vendors/ and /vendor/)
- Subdomain extraction from referer
- Custom domain extraction
- Missing referer/origin header handling
- Add middleware tests for shop API request handling (3 tests)
- Add middleware tests for system path skipping (5 parametrized tests)
Total: 23 new tests added, bringing test count from 61 to 84
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-05 21:39:33 +01:00
..
2025-11-28 19:30:17 +01:00
2025-11-28 19:37:38 +01:00
2025-11-28 19:37:38 +01:00
2025-11-28 20:10:22 +01:00
2025-10-04 13:38:10 +02:00
2025-12-05 21:39:33 +01:00
2025-09-09 21:27:58 +02:00
2025-11-28 19:37:38 +01:00