diff tests/mockutil.py @ 805:fd694f1297c7

config: Cleanup config loading code. Add support for a `local.yml` config.
author Ludovic Chabant <ludovic@chabant.com>
date Mon, 10 Oct 2016 21:41:59 -0700
parents e7b865f8f335
children 72f17534d58e
line wrap: on
line diff
--- a/tests/mockutil.py	Wed Oct 12 21:01:42 2016 -0700
+++ b/tests/mockutil.py	Mon Oct 10 21:41:59 2016 -0700
@@ -7,7 +7,7 @@
 
 def get_mock_app(config=None):
     app = mock.MagicMock(spec=PieCrust)
-    app.config = PieCrustConfiguration()
+    app.config = PieCrustConfiguration(values={})
     return app