fd15865d0b
ugh, this is the wrong direction, but seems practical in this case since the tests didn't accomplish much
18 lines
341 B
Python
18 lines
341 B
Python
# -*- coding: utf-8; -*-
|
|
|
|
from __future__ import unicode_literals, absolute_import
|
|
|
|
from unittest import TestCase
|
|
|
|
from mock import Mock
|
|
|
|
from tailbone import subscribers
|
|
|
|
|
|
class SubscribersTests(TestCase):
|
|
|
|
def test_before_render(self):
|
|
event = Mock()
|
|
event.__setitem__ = Mock()
|
|
subscribers.before_render(event)
|