# HG changeset patch # User Ludovic Chabant # Date 1524544663 25200 # Node ID 6350ee0842738315274d0e06d198d71425f5b6ff # Parent 986ecdaa2a36f5b117dca138dd1bc4933db87b1e tests: Don't use flow style for generated YAML markup. diff -r 986ecdaa2a36 -r 6350ee084273 tests/basefs.py --- 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