view tests/cli/test_publish.yaml @ 779:982de61e7da9

tests: Fix some CLI tests. Add auto-stripping of newlines in the CLI output for tests that use the simple YAML string value for the expected output. Also, fix `showconfig` test to expect a root URL with a trailing slash.
author Ludovic Chabant <ludovic@chabant.com>
date Sat, 16 Jul 2016 15:04:36 +0200
parents c78743b11c75
children
line wrap: on
line source

---
config:
    publish:
        test_shell:
            type: shell
            command: this_command_doesnt_exist
args: publish --preview test_shell
---
config:
    publish:
        test_rsync:
            type: rsync
            destination: some_place_that_doesnt_exist
args: publish --preview test_rsync
---
config:
    publish:
        test_sftp:
            type: sftp
            host: some_host_that_doesnt_exist
            path: ~/some/path
            username: fake
            password: fake
args: publish --preview test_sftp