issue-3379 iam list_roles: implement PathPrefix, MaxItems and Marker (#3380)
* issue-3379 iam list_roles: implement PathPrefix, MaxItems and Marker * issue-3379 fix cloudformation test
This commit is contained in:
parent
ea0ba91f63
commit
0a938f7bb4
4 changed files with 106 additions and 18 deletions
|
|
@ -870,7 +870,7 @@ def test_iam_roles():
|
|||
}
|
||||
]
|
||||
},
|
||||
"Path": "my-path",
|
||||
"Path": "/my-path/",
|
||||
"Policies": [
|
||||
{
|
||||
"PolicyDocument": {
|
||||
|
|
@ -939,7 +939,7 @@ def test_iam_roles():
|
|||
# Role name is not specified, so randomly generated - can't check exact name
|
||||
if "with-path" in role.role_name:
|
||||
role_name_to_id["with-path"] = role.role_id
|
||||
role.path.should.equal("my-path")
|
||||
role.path.should.equal("/my-path/")
|
||||
else:
|
||||
role_name_to_id["no-path"] = role.role_id
|
||||
role.role_name.should.equal("my-role-no-path-name")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue