def __iter__(self, **kwargs):

        for item in self.iter(**kwargs):
            yield item
Test to ensure overriding the secondary validation method works as expected
dataset/ETHPy150Open hvandenb/splunk-elasticsearch/search-elasticsearch/bin/splunklib/client.py/ReadOnlyCollection.__iter__--crossover with--dataset/ETHPy150Open timothycrosley/hug/tests/test_routing.py/TestRouter.test_validate