Mercurial > piecrust2
changeset 768:c78743b11c75
tests: Add tests for publishers.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sat, 02 Jul 2016 01:28:16 -0700 |
parents | 3b33d9fb007c |
children | d841716d8e0d |
files | tests/cli/test_publish.yaml |
diffstat | 1 files changed, 25 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /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 +