annotate tests/cli/test_publish.yaml @ 1168:10520472cc73

routing: Fix breakages with routing on some versions of Python. Finally figured what happened with change 6baa94da8b16 (this is a Mercurial hash by the way if you're looking at the Git mirror). Between Python 3.6 and 3.7 there was a change where the percent sign ('%') went from being escaped by `re.escape` to _not_ being escaped. So now we need to use different regex patterns dependin on the Python version, yay.
author Ludovic Chabant <ludovic@chabant.com>
date Fri, 04 Oct 2019 11:13:33 -0700
parents c78743b11c75
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
768
c78743b11c75 tests: Add tests for publishers.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
1 ---
c78743b11c75 tests: Add tests for publishers.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
2 config:
c78743b11c75 tests: Add tests for publishers.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
3 publish:
c78743b11c75 tests: Add tests for publishers.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
4 test_shell:
c78743b11c75 tests: Add tests for publishers.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
5 type: shell
c78743b11c75 tests: Add tests for publishers.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
6 command: this_command_doesnt_exist
c78743b11c75 tests: Add tests for publishers.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
7 args: publish --preview test_shell
c78743b11c75 tests: Add tests for publishers.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
8 ---
c78743b11c75 tests: Add tests for publishers.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
9 config:
c78743b11c75 tests: Add tests for publishers.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
10 publish:
c78743b11c75 tests: Add tests for publishers.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
11 test_rsync:
c78743b11c75 tests: Add tests for publishers.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
12 type: rsync
c78743b11c75 tests: Add tests for publishers.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
13 destination: some_place_that_doesnt_exist
c78743b11c75 tests: Add tests for publishers.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
14 args: publish --preview test_rsync
c78743b11c75 tests: Add tests for publishers.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
15 ---
c78743b11c75 tests: Add tests for publishers.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
16 config:
c78743b11c75 tests: Add tests for publishers.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
17 publish:
c78743b11c75 tests: Add tests for publishers.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
18 test_sftp:
c78743b11c75 tests: Add tests for publishers.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
19 type: sftp
c78743b11c75 tests: Add tests for publishers.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
20 host: some_host_that_doesnt_exist
c78743b11c75 tests: Add tests for publishers.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
21 path: ~/some/path
c78743b11c75 tests: Add tests for publishers.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
22 username: fake
c78743b11c75 tests: Add tests for publishers.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
23 password: fake
c78743b11c75 tests: Add tests for publishers.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
24 args: publish --preview test_sftp
c78743b11c75 tests: Add tests for publishers.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
25