Mercurial > piecrust2
annotate tests/cli/test_showconfig.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 | d841716d8e0d |
children |
rev | line source |
---|---|
567
a65f04ddbea2
showconfig: Don't crash when the whole config should be shown.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
1 --- |
a65f04ddbea2
showconfig: Don't crash when the whole config should be shown.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
2 args: showconfig |
769
d841716d8e0d
tests: Add more `showconfig` tests.
Ludovic Chabant <ludovic@chabant.com>
parents:
567
diff
changeset
|
3 --- |
d841716d8e0d
tests: Add more `showconfig` tests.
Ludovic Chabant <ludovic@chabant.com>
parents:
567
diff
changeset
|
4 config: |
d841716d8e0d
tests: Add more `showconfig` tests.
Ludovic Chabant <ludovic@chabant.com>
parents:
567
diff
changeset
|
5 site: |
d841716d8e0d
tests: Add more `showconfig` tests.
Ludovic Chabant <ludovic@chabant.com>
parents:
567
diff
changeset
|
6 root: /something |
d841716d8e0d
tests: Add more `showconfig` tests.
Ludovic Chabant <ludovic@chabant.com>
parents:
567
diff
changeset
|
7 args: showconfig site/root |
779
982de61e7da9
tests: Fix some CLI tests.
Ludovic Chabant <ludovic@chabant.com>
parents:
769
diff
changeset
|
8 out: /something/ |
567
a65f04ddbea2
showconfig: Don't crash when the whole config should be shown.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
9 |