'An image should streamed regardless of expected_size'

def test_too_many_chunks(self):

    resp = self._get_webob_response()
    meta = self._get_image_metadata()
    checked_image = glance.api.common.size_checked_iter(resp, meta, 4, ['AB', 'CD', 'EF'], None)
    self.assertEqual('AB', next(checked_image))
    self.assertEqual('CD', next(checked_image))
    self.assertEqual('EF', next(checked_image))
    self.assertRaises(exception.GlanceException, next, checked_image)
