Mercurial > piecrust2
view tests/cli/test_publish.yaml @ 1169:978ed6deea91
tests: Add ability to test different expected outputs based on Python version.
Similar to the previous change, there was also a change in what gets escaped
by `urllib.parse.quote` (as in: the tilde sign ('~') stopped being escaped).
So now we need to be able to test different outputs in the tests, yay again.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Fri, 04 Oct 2019 11:15:11 -0700 |
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