'Test correct set of public, name-filtered image returned. This
is just a sanity check, we test the details call more in-depth.'

def test_get_image_index_by_name(self):

    extra_fixture = self.get_fixture(id=_gen_uuid(), name='new    name!    #123')
    db_api.image_create(self.context, extra_fixture)
    images = self.client.get_images(filters={'name': 'new    name!    #123'})
    self.assertEqual(1, len(images))
    for image in images:
        self.assertEqual('new    name!    #123', image['name'])
