Remove some pointless tests
they became broken, but not worth fixing
This commit is contained in:
parent
3bc0ba73ee
commit
61fa77b752
3 changed files with 4 additions and 29 deletions
|
@ -30,13 +30,3 @@ class TestRattailConfig(TestCase):
|
|||
# get a config object if path provided
|
||||
result = app.make_rattail_config({'rattail.config': self.config_path})
|
||||
self.assertTrue(isinstance(result, RattailConfig))
|
||||
|
||||
def test_settings_arg_may_override_config_and_engines(self):
|
||||
rattail_config = RattailConfig()
|
||||
engine = create_engine('sqlite://')
|
||||
result = app.make_rattail_config({
|
||||
'rattail_config': rattail_config,
|
||||
'rattail_engines': {'default': engine}})
|
||||
self.assertTrue(result is rattail_config)
|
||||
self.assertTrue(RattailSession.kw['bind'] is engine)
|
||||
self.assertTrue(TailboneSession.bind is engine)
|
||||
|
|
|
@ -1,17 +0,0 @@
|
|||
# -*- 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)
|
Loading…
Add table
Add a link
Reference in a new issue