Mercurial > piecrust2
comparison tests/bakes/test_variant.yaml @ 974:72f17534d58e
tests: First pass on making unit tests work again.
- Fix all imports
- Add more helper functions to work with mock file-systems
- Simplify some code by running chef directly on the mock FS
- Fix a couple tests
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 17 Oct 2017 01:07:30 -0700 |
parents | 894d286b348f |
children | 45ad976712ec |
comparison
equal
deleted
inserted
replaced
973:8419daaa7a0e | 974:72f17534d58e |
---|---|
1 --- | 1 --- |
2 config: | 2 config: |
3 what: not good | 3 what: not good |
4 config_variant: test | 4 config_variants: [test] |
5 in: | 5 in: |
6 pages/_index.md: 'This is {{what}}.' | 6 pages/_index.md: 'This is {{what}}.' |
7 configs/test.yml: 'what: awesome' | 7 configs/test.yml: 'what: awesome' |
8 out: | 8 out: |
9 index.html: 'This is awesome.' | 9 index.html: 'This is awesome.' |