tailbone/tests/test_subscribers.py
2013-07-22 19:22:18 -07:00

14 lines
257 B
Python

from mock import Mock
from . import TestCase
from rattail.pyramid import subscribers
class SubscribersTests(TestCase):
def test_before_render(self):
event = Mock()
event.__setitem__ = Mock()
subscribers.before_render(event)