'Test query for TestInfluxDBClient object.'

def test_query(self):

    data = [{'name': 'foo', 'columns': ['time', 'sequence_number', 'column_one'], 'points': [[1383876043, 16, '2'], [1383876043, 15, '1'], [1383876035, 14, '2'], [1383876035, 13, '1']]}]
    with _mocked_session('get', 200, data):
        cli = InfluxDBClient('host', 8086, 'username', 'password', 'db')
        result = cli.query('select    column_one    from    foo;')
        self.assertEqual(len(result[0]['points']), 4)
