'Check num_pages_needed is calculated correctly'

def test_cloudsearch_results_info(self):

    search = SearchConnection(endpoint=HOSTNAME)
    results = search.search(q='Test')
    self.assertEqual(results.num_pages_needed, 3.0)
