'Check the results iterator'

def test_cloudsearch_results_iterator(self):

    search = SearchConnection(endpoint=HOSTNAME)
    results = search.search(q='Test')
    results_correct = iter(['12341', '12342', '12343', '12344', '12345', '12346', '12347'])
    for x in results:
        self.assertEqual(x['id'], next(results_correct))
