Skip to content

Add test for MockTransport elapsed property and implement fix - #3742

Open
2024si96557-ship-it wants to merge 1 commit into
encode:masterfrom
2024si96557-ship-it:fix-mocktransport-elapsed
Open

Add test for MockTransport elapsed property and implement fix#3742
2024si96557-ship-it wants to merge 1 commit into
encode:masterfrom
2024si96557-ship-it:fix-mocktransport-elapsed

Conversation

@2024si96557-ship-it

@2024si96557-ship-it 2024si96557-ship-it commented Jan 7, 2026

Copy link
Copy Markdown
  • MockTransport now sets response.elapsed to datetime.timedelta(seconds=0)
  • Added tests/test_transports.py with test_mock_transport_sets_elapsed
  • Fixes #3712

Summary

Checklist

  • I understand that this PR may be closed in case there was no previous discussion. (This doesn't apply to typos!)
  • I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change.
  • I've updated the documentation accordingly.
- MockTransport now sets response.elapsed to datetime.timedelta(seconds=0)
- Added tests/test_transports.py with test_mock_transport_sets_elapsed
- Fixes #3712
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant