Skip to content

Commit af9404e

Browse files
committed
add doc strings and adjust entry point in pyproject toml
1 parent ed108dd commit af9404e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/credential_plugins_test.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,9 @@ def test_hashivault_handle_auth_not_enough_args():
133133

134134

135135
def test_aws_assumerole_with_accesssecret():
136+
'''
137+
Test that the aws_assumerole_backend function call returns a token given the access_key and secret_key.
138+
'''
136139
kwargs = {
137140
'access_key': 'my_access_key',
138141
'secret_key': 'my_secret_key',
@@ -166,6 +169,9 @@ def test_aws_assumerole_with_accesssecret():
166169

167170

168171
def test_aws_assumerole_with_arnonly():
172+
'''
173+
Test backend function with only the role ARN provided.
174+
'''
169175
kwargs = {
170176
'role_arn': 'the_arn',
171177
'identifier': 'access_token',

0 commit comments

Comments
 (0)