From 3c33ddd2f85ac5475539cd1c5eae2f30fb9e6ea8 Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Sat, 13 Apr 2019 18:32:19 +0200 Subject: Config for tests --- tests/test_app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test_app.py') diff --git a/tests/test_app.py b/tests/test_app.py index a2ff27a..1ff504c 100644 --- a/tests/test_app.py +++ b/tests/test_app.py @@ -1,11 +1,11 @@ from tornado.testing import AsyncHTTPTestCase -from pyapd import app +from pyapd import app, config class TestApp(AsyncHTTPTestCase): def get_app(self, *args, **kw): - return app.App() + return app.App(config.Config('tests/data/test_config.yaml')) def test_root(self): res = self.fetch('/') -- cgit v1.2.3