tests: fix test per changes in wuttaweb

This commit is contained in:
Lance Edgar 2025-07-06 12:24:12 -05:00
parent 24a62b5e83
commit 36ec626c7f

View file

@ -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)