diff --git a/tests/web/test_app.py b/tests/web/test_app.py index 49f4cd4..65fa013 100644 --- a/tests/web/test_app.py +++ b/tests/web/test_app.py @@ -1,22 +1,19 @@ # -*- coding: utf-8; -*- -import os from unittest import TestCase from asgiref.wsgi import WsgiToAsgi from pyramid.router import Router +from wuttjamaican.testing import DataTestCase + from sideshow.web import app as mod -here = os.path.dirname(__file__) -example_conf = os.path.join(here, 'example.conf') - - -class TestMain(TestCase): +class TestMain(DataTestCase): def test_coverage(self): - app = mod.main({}, **{'wutta.config': example_conf}) + app = mod.main({}, **{'wutta_config': self.config}) self.assertIsInstance(app, Router)