-
Notifications
You must be signed in to change notification settings - Fork 286
Replace httpbin.org with github.com for acceptance tests #413
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace httpbin.org with github.com for acceptance tests #413
Conversation
…ervices Eliminates dependency on httpbin.org which was causing intermittent test failures due to rate limiting (503 errors). Changes: - Enhanced local Flask server with /basic-auth and /digest-auth endpoints - Implemented authentication using Flask-HTTPAuth library - Migrated SSL/TLS tests to use github.com for reliable HTTPS testing - Removed local HTTPS server and certificate generation infrastructure - Removed cryptography dependency from test requirements - Marked unused authentication helper functions in helpers.py All authentication tests now use local HTTP server at http://localhost:5010 All SSL/TLS tests use github.com with proper CA-signed certificates 🤖 Generated with Claude Code Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
7f082b8 to
5eee821
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #413 +/- ##
==========================================
+ Coverage 85.38% 88.93% +3.54%
==========================================
Files 9 9
Lines 479 479
Branches 49 49
==========================================
+ Hits 409 426 +17
+ Misses 65 51 -14
+ Partials 5 2 -3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Nice! |
|
I think you could safely remove unused methods. |
|
thanks for reviewing so quickly.. I removed the unused helper functions. |
Replace httpbin.org with local HTTP server and reliable external HTTPS services
This PR eliminates the dependency on httpbin.org, which was causing intermittent test failures due to rate limiting (got frequent 503 messages).
This PR still requires addtl. cleanup in
atests/http_server/helpers.pyas some functions are no longer needed/used. Please comment.Changes
Local HTTP Server for Authentication Tests
/basic-auth,/digest-auth)http://localhost:5010External HTTPS for SSL/Certificate Tests
Code Cleanup