From af9404e534e9bdbf42836d0ff4cfc3fc0ca6611b Mon Sep 17 00:00:00 2001 From: thedoubl3j Date: Thu, 29 Aug 2024 16:16:41 -0400 Subject: [PATCH] add doc strings and adjust entry point in pyproject toml --- tests/credential_plugins_test.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/credential_plugins_test.py b/tests/credential_plugins_test.py index f406ffecee..99a8b091ea 100644 --- a/tests/credential_plugins_test.py +++ b/tests/credential_plugins_test.py @@ -133,6 +133,9 @@ def test_hashivault_handle_auth_not_enough_args(): def test_aws_assumerole_with_accesssecret(): + ''' + Test that the aws_assumerole_backend function call returns a token given the access_key and secret_key. + ''' kwargs = { 'access_key': 'my_access_key', 'secret_key': 'my_secret_key', @@ -166,6 +169,9 @@ def test_aws_assumerole_with_accesssecret(): def test_aws_assumerole_with_arnonly(): + ''' + Test backend function with only the role ARN provided. + ''' kwargs = { 'role_arn': 'the_arn', 'identifier': 'access_token',