Skip to content

Commit 8df9a48

Browse files
committed
formatting nits/feedback
1 parent d8f8b15 commit 8df9a48

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

awscli/botocore/useragent.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@
9393

9494
def register_feature_id(feature_id):
9595
"""Adds metric value to the current context object's ``features`` set.
96+
9697
:type feature_id: str
9798
:param feature_id: The name of the feature to register. Value must be a key
9899
in the ``_USERAGENT_FEATURE_MAPPINGS`` dict.

tests/functional/botocore/test_credentials.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1293,6 +1293,7 @@ def _assert_feature_ids_in_ua(client, expected_feature_ids):
12931293
'''[profile assume-role-test]
12941294
role_arn = arn:aws:iam::123456789012:role/test-role
12951295
source_profile = base
1296+
12961297
[profile base]
12971298
aws_access_key_id = FAKEACCESSKEY
12981299
aws_secret_access_key = FAKESECRET''',

tests/unit/botocore/test_credentials.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -739,7 +739,6 @@ def test_account_id_with_invalid_arn(self):
739739
self.assertEqual(response, expected_response)
740740
self.assertEqual(response['account_id'], None)
741741

742-
743742
@mock.patch('botocore.credentials.register_feature_ids')
744743
def test_feature_ids_registered_during_get_credentials(
745744
self, mock_register

0 commit comments

Comments
 (0)