Skip to content
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

Refactor and optimize codebase #6816

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

akaday
Copy link

@akaday akaday commented Oct 28, 2024

Add new tests for HTTPAdapter and hooks.

  • tests/test_adapters.py

    • Add test_http_adapter_send to test the send method of HTTPAdapter.
    • Add test_http_adapter_cert_verify to test the cert_verify method of HTTPAdapter.
  • tests/test_hooks.py

    • Add test_hooks_with_multiple_hooks to test hooks with multiple functions.
    • Add test_hooks_with_no_hooks to test hooks with no functions.

For more details, open the Copilot Workspace session.

Add new tests for `HTTPAdapter` and hooks.

* **tests/test_adapters.py**
  - Add `test_http_adapter_send` to test the `send` method of `HTTPAdapter`.
  - Add `test_http_adapter_cert_verify` to test the `cert_verify` method of `HTTPAdapter`.

* **tests/test_hooks.py**
  - Add `test_hooks_with_multiple_hooks` to test hooks with multiple functions.
  - Add `test_hooks_with_no_hooks` to test hooks with no functions.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/akaday/requests?shareId=XXXX-XXXX-XXXX-XXXX).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant