Skip to content

Commit 7b3d14f

Browse files
committed
Remove broken test
1 parent 9ea75fc commit 7b3d14f

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

tests/tornado_session_tests.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -220,17 +220,3 @@ def test_query_invokes_execute(self):
220220
obj = tornado_session.TornadoSession(io_loop=self.io_loop)
221221
result = yield obj.query('SELECT 1')
222222
_execute.assert_called_once_with('execute', 'SELECT 1', None)
223-
224-
@testing.gen_test
225-
def test_validate_invokes_connect(self):
226-
with mock.patch('queries.tornado_session.TornadoSession._connect') as \
227-
_connect:
228-
with mock.patch('queries.pool.PoolManager.free'):
229-
future = concurrent.Future()
230-
connection = mock.Mock()
231-
connection.fileno = mock.Mock(return_value=10)
232-
future.set_result(connection)
233-
_connect.return_value = future
234-
obj = tornado_session.TornadoSession(io_loop=self.io_loop)
235-
yield obj.validate()
236-
_connect.assert_called_once_with()

0 commit comments

Comments
 (0)