aboutsummaryrefslogtreecommitdiff
path: root/tests/test_app.py
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2019-04-13 18:32:19 +0200
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2019-04-13 18:32:19 +0200
commit3c33ddd2f85ac5475539cd1c5eae2f30fb9e6ea8 (patch)
treeb03b071e32f1633f6aaada41f4fa7505d74263d0 /tests/test_app.py
parent9b337be1a6e392923509fa94435164b0da98960d (diff)
Config for tests
Diffstat (limited to 'tests/test_app.py')
-rw-r--r--tests/test_app.py4
1 files changed, 2 insertions, 2 deletions
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('/')