tailbone/tests/test_subscribers.py
2013-09-01 08:18:37 -07:00

14 lines
250 B
Python

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