Drop the TestInit node_cache unit test

This test essentially tests get_session(), which is covered by anything else
touching the database code. More importantly, as it does not use any mocks,
it fails on stable/liberty right now.

Change-Id: I175a38bd3675aabe1c518a0b7d4c2bd56d93cc1a
(cherry picked from commit 0ec02d3695)
This commit is contained in:
Dmitry Tantsur 2016-04-04 12:02:21 +02:00 committed by Dmitry Tantsur
parent 7fc985bb91
commit e4b7acb9cf
1 changed files with 0 additions and 10 deletions

View File

@ -381,16 +381,6 @@ class TestNodeInfoFinished(test_base.NodeTest):
self.assertFalse(self.node_info._locked)
class TestInit(unittest.TestCase):
def setUp(self):
super(TestInit, self).setUp()
def test_ok(self):
db.init()
session = db.get_session()
db.model_query(db.Node, session=session)
class TestNodeInfoOptions(test_base.NodeTest):
def setUp(self):
super(TestNodeInfoOptions, self).setUp()