'Test Cython-based parser that returns an iterator, over multiple pages'

@notprotocolv1
@numpytest
def test_cython_lazy_results_paged(self):

    cluster = Cluster(protocol_version=PROTOCOL_VERSION)
    session = cluster.connect(keyspace='testspace')
    session.row_factory = tuple_factory
    session.client_protocol_handler = LazyProtocolHandler
    session.default_fetch_size = 2
    self.assertLess(session.default_fetch_size, self.N_ITEMS)
    results = session.execute('SELECT    *    FROM    test_table')
    self.assertTrue(results.has_more_pages)
    self.assertEqual(verify_iterator_data(self.assertEqual, results), self.N_ITEMS)
    cluster.shutdown()
