Fix boto3 IAM test function names

This commit is contained in:
Pall Valmundsson 2018-11-01 19:58:09 +00:00
parent 67cb2e25bb
commit e9f8bec91a

View File

@ -537,7 +537,7 @@ def test_generate_credential_report():
'generate_credential_report_result']['state'].should.equal('COMPLETE')
@mock_iam
def test_generate_credential_report_boto3():
def test_boto3_generate_credential_report():
conn = boto3.client('iam', region_name='us-east-1')
result = conn.generate_credential_report()
result['State'].should.equal('STARTED')
@ -560,7 +560,7 @@ def test_get_credential_report():
report.should.match(r'.*my-user.*')
@mock_iam
def test_get_credential_report():
def test_boto3_get_credential_report():
conn = boto3.client('iam', region_name='us-east-1')
conn.create_user(UserName='my-user')
with assert_raises(ClientError):