diff tests/test_data_provider.py @ 674:f987b29d6fab

tests: Add ability to run tests with a theme site. * Remove automatic creating of `config.yml`. * Add option to specify `theme_config` in YAML tests.
author Ludovic Chabant <ludovic@chabant.com>
date Sun, 06 Mar 2016 23:48:01 -0800
parents 4b1019bb2533
children ab5c6a8ae90a
line wrap: on
line diff
--- a/tests/test_data_provider.py	Sun Mar 06 23:41:35 2016 -0800
+++ b/tests/test_data_provider.py	Sun Mar 06 23:48:01 2016 -0800
@@ -4,6 +4,7 @@
 
 def test_blog_provider():
     fs = (mock_fs()
+          .withConfig()
           .withPage('posts/2015-03-01_one.md',
                     {'title': 'One', 'category': 'Foo'})
           .withPage('posts/2015-03-02_two.md',