2013-06-20 00:23:15 -05:00
|
|
|
|
|
|
|
from mock import Mock
|
|
|
|
|
2013-07-22 21:22:18 -05:00
|
|
|
from . import TestCase
|
2013-09-01 09:27:47 -05:00
|
|
|
from tailbone import subscribers
|
2013-06-20 00:23:15 -05:00
|
|
|
|
|
|
|
|
|
|
|
class SubscribersTests(TestCase):
|
|
|
|
|
|
|
|
def test_before_render(self):
|
|
|
|
event = Mock()
|
|
|
|
event.__setitem__ = Mock()
|
|
|
|
subscribers.before_render(event)
|