'Specify a deleted image as a marker if showing deleted images.
A non-admin user has to explicitly ask for deleted
images, and should only see deleted images in the results'

def test_image_get_all_marker_deleted_showing_deleted(self):

    self.db_api.image_destroy(self.adm_context, UUID3)
    self.db_api.image_destroy(self.adm_context, UUID1)
    filters = {'deleted': True}
    images = self.db_api.image_get_all(self.context, marker=UUID3, filters=filters)
    self.assertEqual(1, len(images))
