Mercurial > piecrust2
view 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 |
line wrap: on
line source
--- config: what: not good config_variants: [test] in: pages/_index.md: 'This is {{what}}.' configs/test.yml: 'what: awesome' out: index.html: 'This is awesome.' --- config: what: not good config_values: what: awesome in: pages/_index.md: 'This is {{what}}.' out: index.html: 'This is awesome.'