コード例 #1
0
def test_delete_nonexistent_stack(maybe_sleep, placeboify):
    connection = placeboify.client('cloudformation')
    result = cfn_module.stack_operation(connection, 'ansible-test-nonexist',
                                        'DELETE', default_events_limit)
    assert result['changed']
    assert 'Stack does not exist.' in result['log']
コード例 #2
0
ファイル: test_cloudformation.py プロジェクト: ernstp/ansible
def test_delete_nonexistent_stack(maybe_sleep, placeboify):
    connection = placeboify.client('cloudformation')
    result = cfn_module.stack_operation(connection, 'ansible-test-nonexist', 'DELETE')
    assert result['changed']
    assert 'Stack does not exist.' in result['log']