# HG changeset patch # User Ludovic Chabant # Date 1467448096 25200 # Node ID c78743b11c75c9c18292e05a20da018bab617a18 # Parent 3b33d9fb007c6ec5c98cf36ce6cfe186822a18f7 tests: Add tests for publishers. diff -r 3b33d9fb007c -r c78743b11c75 tests/cli/test_publish.yaml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/cli/test_publish.yaml Sat Jul 02 01:28:16 2016 -0700 @@ -0,0 +1,25 @@ +--- +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 +