Skip to content
Snippets Groups Projects
Commit 7b3d14f9 authored by Gavin M. Roy's avatar Gavin M. Roy
Browse files

Remove broken test

parent 9ea75fc3
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -220,17 +220,3 @@ class SessionPublicMethodTests(testing.AsyncTestCase):
obj = tornado_session.TornadoSession(io_loop=self.io_loop)
result = yield obj.query('SELECT 1')
_execute.assert_called_once_with('execute', 'SELECT 1', None)
@testing.gen_test
def test_validate_invokes_connect(self):
with mock.patch('queries.tornado_session.TornadoSession._connect') as \
_connect:
with mock.patch('queries.pool.PoolManager.free'):
future = concurrent.Future()
connection = mock.Mock()
connection.fileno = mock.Mock(return_value=10)
future.set_result(connection)
_connect.return_value = future
obj = tornado_session.TornadoSession(io_loop=self.io_loop)
yield obj.validate()
_connect.assert_called_once_with()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment