IAM - get_user() #3828 (#3829)

* IAM - get_user() #3828
- fixing issue where the get_user method does not return tags

* adding get_user with tags test
This commit is contained in:
Jonx1000 2021-04-03 05:38:18 -04:00 committed by GitHub
commit 6ea6445f60
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View file

@ -4075,7 +4075,8 @@ def test_create_user_with_tags():
assert resp["User"]["Tags"] == tags
resp = conn.list_user_tags(UserName=user_name)
assert resp["Tags"] == tags
resp = conn.get_user(UserName=user_name)
assert resp["User"]["Tags"] == tags
resp = conn.create_user(UserName="test-create-user-no-tags")
assert "Tags" not in resp["User"]