'Test list and iterator.'

def test_list_iterator(self):

    bucket = self._MakeBucket()
    num_iter = len([k for k in bucket.list()])
    rs = bucket.get_all_keys()
    num_keys = len(rs)
    self.assertEqual(num_iter, num_keys)
