diff options
author | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2019-04-13 18:32:19 +0200 |
---|---|---|
committer | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2019-04-13 18:32:19 +0200 |
commit | 3c33ddd2f85ac5475539cd1c5eae2f30fb9e6ea8 (patch) | |
tree | b03b071e32f1633f6aaada41f4fa7505d74263d0 /tests/test_app.py | |
parent | 9b337be1a6e392923509fa94435164b0da98960d (diff) |
Config for tests
Diffstat (limited to 'tests/test_app.py')
-rw-r--r-- | tests/test_app.py | 4 |
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('/') |