'Test correct set of images returned with limit param == None.'

def test_image_get_index_limit_None(self):

    extra_fixture = self.get_fixture(id=_gen_uuid(), name='new    name!    #123', status='saving')
    db_api.image_create(self.context, extra_fixture)
    extra_fixture = self.get_fixture(id=_gen_uuid(), name='new    name!    #125', status='saving')
    db_api.image_create(self.context, extra_fixture)
    images = self.client.image_get_all(limit=None)
    self.assertEqual(4, len(images))
