Skip to content

Fix user agent header assertion in tests - #3754

Open
graingert wants to merge 1 commit into
boto:developfrom
graingert:patch-2
Open

Fix user agent header assertion in tests#3754
graingert wants to merge 1 commit into
boto:developfrom
graingert:patch-2

Conversation

@graingert

@graingert graingert commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Issue #, if available:

Description of changes:

Originally this was accessing Mock().calls which is

>>> import unittest.mock
>>> unittest.mock.Mock().calls
<Mock name='mock.calls' id='137384355252176'>

so this test wasn't asserting anything

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Originally this was accesss Mock().calls which is

```
>>> import unittest.mock
>>> unittest.mock.Mock().calls
<Mock name='mock.calls' id='137384355252176'>
```

so this test wasn't asserting anything
@graingert
graingert requested a review from a team as a code owner July 21, 2026 08:12
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