'Test chunked query for TestInfluxDBClient object.'

@unittest.skip(u'Not    implemented    for    0.9')
def test_query_chunked(self):

    cli = InfluxDBClient(database=u'db')
    example_object = {u'points': [[1415206250119, 40001, 667], [1415206244555, 30001, 7], [1415206228241, 20001, 788], [1415206212980, 10001, 555], [1415197271586, 10001, 23]], u'measurement': u'foo', u'columns': [u'time', u'sequence_number', u'val']}
    example_response = (json.dumps(example_object) + json.dumps(example_object))
    with requests_mock.Mocker() as m:
        m.register_uri(requests_mock.GET, u'http://localhost:8086/db/db/series', text=example_response)
        self.assertListEqual(cli.query(u'select    *    from    foo', chunked=True), [example_object, example_object])
