summaryrefslogtreecommitdiff
path: root/repoze/bfg/tests
diff options
context:
space:
mode:
Diffstat (limited to 'repoze/bfg/tests')
-rw-r--r--repoze/bfg/tests/test_events.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/repoze/bfg/tests/test_events.py b/repoze/bfg/tests/test_events.py
index 770f1afeb..f3da5d6a6 100644
--- a/repoze/bfg/tests/test_events.py
+++ b/repoze/bfg/tests/test_events.py
@@ -52,6 +52,14 @@ class NewResponseEventTests(unittest.TestCase):
inst = self._makeOne(response)
self.assertEqual(inst.response, response)
+class WSGIAppEventTests(unittest.TestCase):
+ def test_class_implements(self):
+ from repoze.bfg.events import WSGIApplicationCreatedEvent
+ event = WSGIApplicationCreatedEvent(object())
+ from repoze.bfg.interfaces import IWSGIApplicationCreatedEvent
+ from zope.interface.verify import verifyClass
+ verifyClass(IWSGIApplicationCreatedEvent, event)
+
class DummyRequest:
pass