2018-10-17 19:42:54 -05:00
|
|
|
# -*- coding: utf-8; -*-
|
|
|
|
|
|
|
|
from __future__ import unicode_literals, absolute_import
|
2013-06-20 00:23:15 -05:00
|
|
|
|
2014-02-21 12:10:10 -06:00
|
|
|
from unittest import TestCase
|
|
|
|
|
2013-06-20 00:23:15 -05:00
|
|
|
from mock import Mock
|
|
|
|
|
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)
|