Mercurial > piecrust2
changeset 1135:6350ee084273
tests: Don't use flow style for generated YAML markup.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Mon, 23 Apr 2018 21:37:43 -0700 |
parents | 986ecdaa2a36 |
children | 5f97b5b59dfe |
files | tests/basefs.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/basefs.py Mon Apr 23 21:37:27 2018 -0700 +++ b/tests/basefs.py Mon Apr 23 21:37:43 2018 -0700 @@ -53,18 +53,18 @@ config = {} return self.withFile( 'kitchen/config.yml', - yaml.dump(config)) + yaml.dump(config, default_flow_style=False)) def withThemeConfig(self, config): return self.withFile( 'kitchen/theme_config.yml', - yaml.dump(config)) + yaml.dump(config, default_flow_style=False)) def withPage(self, url, config=None, contents=None): config = config or {} contents = contents or "A test page." text = "---\n" - text += yaml.dump(config) + text += yaml.dump(config, default_flow_style=False) text += "---\n" text += contents