'Tests that a detailed call can be filtered by a property'

def test_get_image_is_public_v1(self):

    extra_fixture = self.get_fixture(id=_gen_uuid(), status='saving', properties={'is_public': 'avalue'})
    context = copy.copy(self.context)
    db_api.image_create(context, extra_fixture)
    filters = {'property-is_public': 'avalue'}
    images = self.client.get_images_detailed(filters=filters)
    self.assertEqual(1, len(images))
    for image in images:
        self.assertEqual('avalue', image['properties']['is_public'])
