'Ensure that the api filters out deleted image properties.'

def test_show_deleted_properties(self):

    image = {'id': str(uuid.uuid4()), 'status': 'active', 'properties': {'poo': 'bear'}}
    self.db.image_create(None, image)
    self.db.image_update(None, image['id'], {'properties': {'yin': 'yang'}}, purge_props=True)
    request = unit_test_utils.get_fake_request()
    output = self.controller.show(request, image['id'])
    self.assertEqual('yang', output.extra_properties['yin'])
