def test_role_get_arn(self): role = Role('test-role') with pytest.raises(AWSError): role.get_arn()
def test_role_get_arn(self): role = Role('test-role') assert role.get_arn() == get_role_arn('test-role')